This system is a small permission management system. Do not look at this framework in terms of a large system framework. Before using it, you should first understand the system framework and see if it is suitable for your design needs. This framework can be applied to small and medium-sized systems. I think There is no big problem. This system can only give you a reference in terms of permission design. This system now realizes the control of functional modules in the system. When developing functional modules, you can add system permissions to them, and then authorize the corresponding permissions to Roles and assign roles to users.
1. Development environment
Operating system: window 2000/XP/Vista/2008
Development language: C#, which needs to add asp.net Ajax, Webdiyer's paging component AspNetPager in .net2.0/3.5, 2.0
Database: Sqlserver 2000/2005/2008
Development tools: VS2008/Dongsoft.net code generator
2.Configuration
(1) Create a database and have the database file MyData.sql in the Doc directory.
(2)Database configuration
(3) Enable Asp.net state Service
3. System operation process
First of all, permissions must be configured before using the system. The process is as follows:
(1) Create a permission list, add required permissions, and initial permissions (browse/add/edit/delete/search/review/move/print/download/backup)
(2) Establish user group management to facilitate the classification of users
(3) Establish module classification and classify functional modules
(4) Establish module management, add sub-modules, and set detailed function permissions
(5)Establish role management
(6) Establish role authorization and grant module permissions to roles
Test user username and password
Adminadmin
test1 test
test2 test
test3 test
4. Development plan
All database data operations in this system are written in the code. There are no stored procedures. It supports multiple databases. It is changed to factory mode to support Access, sqlser, mysql first, and then Oracle.
Widen the module permission list into two columns to facilitate operation. Multi-language version, multi-skin, domain permission management, individually set permissions, multiple roles, multiple login modes (domain/form/single point)
User configuration library user ID configuration name configuration value data type whether to enable verification display type (lab, list, chkbox