Rdiframework.net━. NET rapid Information System development framework
9.9 Role Rights Management-web section
The Role Rights Management module focuses on setting the appropriate permissions for the role. In the Role Rights Management module, an administrator can add or remove users who are included in a specified role, access rights to modules (menus) that can be assigned or granted a specified role, actions (functions) permissions that can be reclaimed or assigned to a specified role, all roles, users, modules (menus), The operation (function) Permission is centralized batch setting, the setting of the Role user authorization scope (similar to the setting of users authorization scope), the setting of the table field permission, and the setting of the permissions of the constraint condition. The role Rights Management main interface looks like this:
9.9.1, role permission settings
The primary function of the role permission setting is to set its module (menu) Access permissions on the selected role and the permissions it has on the operation. The role permission settings are as shown.
9.9.2, Role User Association
The Role User Association is primarily to add or remove users who are owned by the currently selected role, and the user belongs to a role, representing all of the permissions that the role has. Remove a user from a role, the permissions that the user has on that role are also removed synchronously. The role User Association is shown.
In the role Rights Management main interface, we select the "System Configurator" role, click the "Role User" button to make the "Role user Affinity" interface, in the Role User Association window can see the current role of the user owned, such as a user no longer belong to this role, you can remove the user, You can also add a valid user to this role so that it inherits all of the permissions that this role has.
9.9.3, role user centralized batch setup
In the role Rights Management main interface, select "Role user affinity" to open the "Role user set bulk settings" main interface as shown in. The batch setup interface in the role user set allows users to be added or removed from all roles to truly increase operator productivity.
9.9.4, Role Permissions Batch setup
The Role Permissions batch setting is set centrally for users who are owned by the role, accessible modules (menus), and the operations (functions) permissions that they have. The role permissions are set in bulk as shown in.
9.9.5, role authorization range settings
The role authorization scope setting is similar to the user authorization scope setting, can realize the authorization redistribution very well, for the big group enterprise can obviously reduce the burden and the pressure which the administrator authority allocates. The scope of the role authorization is shown.
9.9.6, table field permission settings
In some applications, we sometimes need to set their access to specific tables, access to columns, and edit permissions for different roles. In table field permission settings, we can set the data tables that the role can access, as well as access, edit, and deny access to the data table columns. The table field permissions for the role are set as shown in.
in the table field Permission Settings window, the data table listed on the left, select to have access to the table, cancel will deny access to the table, and the table corresponding to the column access, edit, deny access rights are also canceled synchronously. If the data table we need is not listed on the left , you can set it through the "Set Permissions Control Table" feature in table field management in the 9.11 section.
9.9.7, role constraint permission settings
The role constraint setting is to set the conditions for different roles to see the data for a data table, and here we are the constraints where the role's constraints on the table are set as shown.
In, we set the selected role "System Configurator" to the data table "System role Table" constraint is "category= ' systemrole'", set up, you can call our interface to do the corresponding data control, the constraint Settings window as shown.
Related articles:
Rdiframework.net-based on. NET rapid Information System development Framework-Series catalogue
Erichu
Source: http://blog.csdn.net/chinahuyong
Email:[email protected]
QQ Communication:406590790
Framework Blog:Http://blog.csdn.net/chinahuyong
Http://www.cnblogs.com/huyong
Rdiframework.net, based on. NET of rapid information system development, integration framework, to users and developers the best. NET Framework deployment scenarios.
about senior engineer, information System Project Manager, DBA. Focused on Microsoft platform Project architecture, management and enterprise solutions, multi-year project development and management experience, has organized and developed several large projects, in the object-oriented, service-oriented and database areas have a certain degree of accomplishment. is now mainly engaged in based onrdiframework.netframework of technical development, consulting work, mainly services in finance, health, railways, telecommunications, logistics, Internet of things, manufacturing, retail and other industries.
If you have any questions or suggestions, please enlighten me!
This article is copyright to the author and Csdn, welcome reprint, but without the author's consent must retain this paragraph, and in the article page obvious location to the original connection, if there is a problem, you can contact me by email or QQ, thank you very much.
rdiframework.net━9.9 Role Rights Management ━web section