Role-based Authorization Strategy install plug-ins
Enter global security configuration, check the authorization policy role-based strategy
Will be more of a manager and assign roles to configure the interface, the points go to configure
The principle is to configure role permissions, and then bind the user to the corresponding role
is first to enter the edit role permissions manager role
focuses on rights profiles from the project to distinguish between users, a typical configuration with projects to build, to cancel, read permission and space
here the pattern is a regular expression, such as matching starts with Wuxi, enter wuxi. instead wuxi
Finished editing can click to see matching items under pattern
The role was then bound to the authority, would have created a user user1 and user2 are bound to Shanghai and Wuxi project
Pigs user-created at the beginning of each project wuxi, and shanghai
Primary user
user1 login
user2 landing
For the primary user, you can add the views of various projects. A more intuitive view, the project also matching using regular expressions