jenkins achieve Rights Management

Role-based Authorization Strategy install plug-ins
Here Insert Picture Description

Enter global security configuration, check the authorization policy role-based strategy
Here Insert Picture Description

Will be more of a manager and assign roles to configure the interface, the points go to configure
Here Insert Picture Description

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
Here Insert Picture Description

Finished editing can click to see matching items under pattern
Here Insert Picture Description

The role was then bound to the authority, would have created a user user1 and user2 are bound to Shanghai and Wuxi project
Here Insert Picture Description

Pigs user-created at the beginning of each project wuxi, and shanghai

Primary user
Here Insert Picture Description
user1 login
Here Insert Picture Description
user2 landing
Here Insert Picture Description

For the primary user, you can add the views of various projects. A more intuitive view, the project also matching using regular expressions
Here Insert Picture DescriptionHere Insert Picture Description

Guess you like

Origin blog.csdn.net/qq1105273619/article/details/91147052