Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Jenkins sets administrative permissions by role

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Reference https://blog.whsir.com/post-1785.html

1 install the plug-in Role-based Authorization Strategy in the plug-in management

2. In system Management-Configure Global Security- Authorization Policy-Role-Based Strategy, check Role-Based Strategy Save, as shown in the figure.

3 Administrative roles

Click Manage and Assign Roles, then click manage roles

Note: the read permission must be checked, otherwise the login prompt does not have the permission, and note that the name of the role is not the same as the user name, otherwise the permission will not take effect

Do not check the read in the task here, otherwise the permission will not take effect!

Set user permissions

The user name in front is the user name. Huidu represents all items that begin with a huidu. This user has permission to operate, and the following tasks must be checked.

4 assign roles

Global roles global role

Authorize the corresponding project to the corresponding user item roles project role

5 final verification

Log in to jenkins with an ops user to see if you can only view items at the beginning of huidu

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report