PHP framework queryphp course: Getting started 11 permission system design

Source: Internet
Author: User
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 ????? You can list all your own identities (role )???? You can add members and set the administrator (group mode )???? You can add (non-supperadmin) role identity 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

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.