Role Permissions test

1. once only for a single user to set permissions, check the permissions are set to take effect after
2. Give the user does not set any permissions, the permission checks whether users can use the system after setting
3. Set all permissions to the user, after checking all the permissions settings is in effect
4. partial authority provided to the user, after setting the permissions check whether the commencement section
5. the operation related to the ongoing user, administrator add additional rights for this user, whether for
6 being related to a user operation, the administrator for the user cancels the authority, whether carried out
7. set permissions the same time, if there is a corresponding set of permissions logs
8. If the authority is the way to achieve the permissions of the tree, then the relationship of father and son to the authority of the tree node test 1) select the parent permission, to check whether all child permissions are selected by default 2) select only part of the sub permission to check whether the corresponding parent permission is selected 3) delete some child rights (not to delete all permissions), when the parent or authority should selected 4) Remove all child rights, when the parent authority should automatically be canceled
9. the user can Maintenance of the authority information according to their needs
10. In addition to the administrator, the user can not set their own privilege to
11. rights data stored in the database, the encryption process is recommended to prevent a malicious user to break the database may be any yourself add permissions to the system losses

Whether selection systems provide coverage of all system settings permissions
user can belong to multiple roles,
when a plurality of user roles, see if the user has the necessary permissions
plurality of user roles, rights overlapping roles view
user when a plurality of roles , a role which will be deleted, to see if the appropriate permissions to delete
a user multiple roles, a role which will delete, view permission roles overlap

发布了15 篇原创文章 · 获赞 14 · 访问量 5728

Guess you like

Origin blog.csdn.net/qq_39204060/article/details/100557102