Jenkins continuous Integration-user Management
1. Based on security matrix
System Management-> Configure Global Security
The role of related permissions:
There are some special permissions:
The maximum permission is Overall's Administer, with which you can do anything.
The most basic permission is the Read of Overall, and the user must be given the right to read, otherwise nothing can be seen.
Because the security configuration based on the security matrix requires that the specified person does not have permission to access a certain job, it is necessary to assign permissions in the specified job, which is bound to increase the workload if there are more job.
Second, role-based authentication strategy
Plug-ins need to be installed: Role-based Authorization Strategy
Enable role Policy
Administrative role
System Administration > Manage and Assign Roles > Manage Roles
Create a new role for readonly, giving only global read-only permission
Set the appropriate permissions for each Project (Job), which can be matched by regular expressions
Assign a role
System Administration > Manage and Assign Roles > Assign Roles
Add users and assign global roles
Add users and assign appropriate permissions according to Project roles