jenkins user rights related to the project

1. Install the plug-Role-based Authorization Strategy

System Management - Plugin Manager - optional plug-ins, search Role-based Authorization Strategy, check and installation

2. Configure Permissions

Global security configuration - Access Control - authorization policy, check Role-Base Strategy

3. Administrative Roles

System Management - Manage And Assign Roles - Manage Roles

 

 3.1 add a Global roles, permissions to Read All

 

  A new 3.2 Item roles, and gives the filter project template (pattern)

 

 

   pattern: for example, four items, namely a-dev, a-opr, b-dev, b-opr, arranged to pattern a *, and will be a-dev a-opr, the new, as pattern. a link, you can click on the project in line with the test.

   Check the permissions needed to

4. Assign roles

  4.1 add a global roles, check the read-only permission cb

 

 4.2 Add a new item roles, check team_cb

 

  Use user login 4.2, you can find items to display has been filtered according to pattern, according to authority also check the Manage roles in the group is limited team_cb

reference

 

Guess you like

Origin www.cnblogs.com/CinYung/p/12109306.html