OA project 14: permission management function analysis

Source: Internet
Author: User

Note: This tutorial isChuanzhi podcast Tang YangguangThe free OA project video posted by the lecturer my text version practice notes, I use this to enhance my development knowledge, if some netizens reprint, please note. Thank you.

1. permission management analysis:

1. Meaning of permissions:

That is, the use of the control management function. For example, you must log on to the homepage to view the homepage. Users can display their management functions based on their own permissions. If users do not have permissions, they will not be displayed on the page.

2. Web application permissions:

Each function has one or more URLs. You can control the permissions of a user's URLs.

3. Permission scheme:

User authorization through role:

User --- role --- permission

Many-to-many

2. Permission-related functions in OA:

1. initialize permissions:

1) set the Super User.

2. Assign permissions:

1) Assign permissions to the role.

2) user permissions are the permissions of all positions (roles) of the user.

3. Permission:

1) log on to, log off, and go to the home page.

2) the menu on the left is displayed based on permissions.

3) the link on the right side of the page is displayed based on permissions.

4) intercept each action request and verify whether the user has the access permission.

OA project 14: permission management function analysis

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.