The system has been sent to some netizens for small-scale tests.
National Day Right.
At first, I just randomly sent a message to check if there was anyone who wanted it. As a result, I found that the Network was under a lot of pressure. If it was a little poor, someone would point it out. We hope you will be considerate of the shortcomings.
The original intention of this system is to inspire others. If you have project experience
Program I have done a similar system, but I have not seen ASP. net2.0 RBAC implementation on the Internet.
I have a limited level, but I think there may also be people looking for the same thing. If I show you what I wrote, I may get a lot of suggestions and exchange and study together, saving beginners from detours. This system may not be very good, I think
The key lies in the exchange of ideas .
This program implements the functions required for basic permission management. At present, due to the lack of complex permission control. In the next version, I will add more features, including
User Group, role group, business parameters, permission Value .
The combination of RBAC in Asp.net RBAC membership framework (RMF) and membership in Asp.net 2.0:
Some friends need RBAC reference, Here download: References: Introduction to Role Based Access Control Author: ice cloud (Icecloud@sina.com) Nemo (nemo_fc@sina.com)
This is the RBAC standard diagram Excerpted from the PDF.
I implemented it in this way. To work with ASP. net2.0's membership, I made some changes.
Resourcegroup:
Resources can include everything in the system, includingMenu, database, and interface controlsTo better manage these resources, I added the resourcegroup table that is not included in the RBAC specification, which is to classify the resources and configure them better in the configuration tool.
Privilege = Resource + operation
Resource: You can have Chinese and English names, and resourcesorder can sort resources.
Operation: it can also have a Chinese/English name.
Tables starting with ASPnet can be generated using aspnet_regsql, which is convenient.
Explain how to useCodeReason for generation:
1. The code is generated with a strong name and will check for errors during compilation.
2. Other programmers do not care about the implementation of the permission system. They can use the smart sensing function to find the configured permissions in the system.
3. The system also provides some methods to determine permissions without generating code files.
Testing is currently underway. I'm afraid there are too many bugs. Sorry, all of you.