当前位置:网站首页>Jenkins user rights management

Jenkins user rights management

2022-06-11 06:20:00 Jingming scaler

Catalog

 1、 install  Role-based Authorization Strategy plug-in unit .​ edit 2、 Go after installation Manage Jenkins

 3、 Enter the role management interface

 4、 Create the role

5、 Create user

 6、 Assign roles

 7、 Create project


utilize  Role-based Authorization Strategy Plug in to manage jenkins User permissions .

 1、 install  Role-based Authorization Strategy plug-in unit .2、 Go after installation Manage Jenkins

choice Configure Global Security

 

  The default is that the user can do anything after logging in , choice Role-Based Strategy, preservation .

 3、 Enter the role management interface

 

  Click on Manage Roles

 

 4、 Create the role

Global roles: Global role , The main task is to create the administrator role .

Item roles: Project role , The main task is to create project roles , Which accounts can operate which project roles .

Node roles: Node role , It mainly refers to the roles related to the master and slave nodes , Not for now .

Global role and project role are created respectively :

 

  Of project roles Patter You can fill in regular expressions , Which items can be accessed by matching roles . Such as :my.*  That is to say my Items prefixed with can be accessed .

5、 Create user

 

 

 

 6、 Assign roles

 

 

  Assign global and project roles :

Sign in jll2:

 

Sign in lxf:

 

 7、 Create project

  The administrator can see the two projects created :

 

  Log in with another account :lxf account number

  Sign in jll2 account number :

 

原网站

版权声明
本文为[Jingming scaler]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206110604091897.html