PHP framework queryphp Tutorial: Getting started 11 permission system design instructions: mainly composed of three identities? Super Administrator? Group (department )? User? Identity (also called role )? Permission table leader ????? Can I list all my own identities (role )? PHP framework queryphp Tutorial: Getting started eleven permission system design
Permission system design description:
There are three main identities?
- Super Administrator?
- Group (department )?
- User?
- Identity (also called role )?
- Permission table
Team lead?
? ? ? ? You can list all your own identities (role)
? ? ? ? You can add members and set administrators (group mode)
? ? ? ? You can add a (non-supperadmin) role identity.
? ? ? ? Can I set a Role in my group for my members?
Administrator
? ? ? ? Set the leader to add a group to add a BRAC permission identity
? ? ? ? Set the router class to the protection class. if the logon protection class is set, you must log on to the instance for verification.
? ? ? ? SET member Role identity?
Super Administrator?
? ? ? ? Add or delete an administrator?
Member User?
? ? ? ? Get Role Identity from your group
? ? ? ? Obtain the Role from the member identity table.
? ? ? ? In addition to the administrator, all others use the member + Role identity to operate the frontend and backend programs.
Link: http://tjwzjs.cn/news/knowledge/2012/1211/59.html