Maintaining roles and project-based security

For authorization, we can define Matrix-based security on the Configure Global Security page.

  1. Add group or user and configure security based on different sections such as Credentials, Slave, Job, and so on.
  2. Click on Save.
    Maintaining roles and project-based security

    We can use multiple users for matrix-based security, as shown in the following screenshot:

    Maintaining roles and project-based security
  3. Try to access the Jenkins dashboard with a newly added user who has no rights, and we will find the authorization error.
  4. Now provide overall read rights; build, read, and workspace rights for job for ...

Get Jenkins Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.