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