049 Medical Program-Module five: Permission settings

Source: Internet
Author: User

Rights Management Module

This is the last module I wrote, and the other is a statistical module, I have no time to read it. So I don't write it.

Basis:

Rights Management Design Model

Generic: User Rights Management model (with 5 tables: Permissions table, role table, user table, Role and Permissions relationship table, user and role relationship table)

However, the system has been improved on the basis of the above, and the third party system has been adopted to realize the rights management.

The System design:

Permission table:

Using a third-party user authorization system, the Permissions table includes: System table, module table, action table

User table:

Use GroupID to differentiate between different user types

Using SYSID to store user-owned Unit IDs

Role table:

User roles are one-to-one for user types.

The user role is initialized in the system using the system initialization method.

User and role Relationships table:

Using a third-party user authorization system, the user and Role relationships table includes : Roles and system correspondence tables, roles and deployment node correspondence tables, role and module correspondence tables, roles and actions correspondence tables

As follows:

We split the generic user role table into: Roles and system correspondence tables, roles and deployment node correspondence tables, roles and module correspondence tables, roles and actions corresponding to the four tables of the relational table.

We introduce third-party systems first:

These two are third-party systems.

049 Medical Program-Module five: Permission settings

Related Article

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.