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