Maintaining roles and project-based security
For authorization, we can define Matrix-based security on the Configure Global Security page.
- Add group or user and configure security based on different sections such as Credentials, Slave, Job, and so on.
- Click on Save.
We can use multiple users for matrix-based security, as shown in the following screenshot:
- Try to access the Jenkins dashboard with a newly added user who has no rights, and we will find the authorization error.
- Now provide overall read rights; build, read, and workspace rights for job for ...