Universal User Rights system design (Database design)

Source: Internet
Author: User

Do more than the MIS system, a long time ago this idea, want to put the MIS system user rights

Management and approval flow management stand-alone, separate components

Today, for the time being, look at the database table design of the Authority management system.

subsystem table, because I design here in order to be able to integrate all the internal system of the company, so built a subsystem this table, if a single project, this table can be removed.

Module table, each module in the system.

module function table, each function in the module (can have two functions, one is the access of the page, one is the button event on the page)

User table

Role table

User Group table

User Department Table

User Permissions table (you can also give permissions directly to users)

Role Permissions table (assigning permissions to roles)

User and group relationship tables (one user can belong to multiple groupings)

User and role Relationships table (one user can have multiple roles)

User grouping and role relationship tables (a group can have several roles)

Universal User Rights system design (Database design)

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.