User access in Jenkins, How can I give someone access to only see jobs

One simple way: I went in Manage Jenkins > Configure Global Security and checked Allow anonymous read access.

Now any body who doesn't have credentials can view the jobs.


Go to "Manage Jenkins" -> "Configure System" and under "Authorization" choose "Matrix-based security". You can then configure exactly what each user should be able to do.


The Jenkins Wiki has a good explanation of how this is done: Standard Security Setup.

Essentially you do this:

  • Go to Jenkins -> Manage Jenkins -> Configure Global Security.
  • Check "Enable security".
  • Set "Jenkins own user database" as security realm.
  • Check "Allow users to sign up"
  • Choose "Matrix based security"
  • Check "Overall read" on Anonymous.
  • Add your admin account in the matrix, check every box.
  • Save configuration and sign up with the admin username to set a password.

Steps to create a new user in Jenkins with only READ access

Steps to create a new user

  1. Login into Jenkins
  2. Go to Manage Jenkins
  3. Go to Create Users
  4. Enter all the details – Username, Password, Confirm Pwd, FullName, Email
  5. Select Create User

Steps to assign only read access

  1. Login to Jenkins
  2. Go to Manage Jenkins
  3. Go to Configure Global Security
  4. Select Jenkins own User Database
  5. Tick the checkbox “Allow Users to Sign Up”
  6. Select Matrix-based security
  7. Select the button “Add user or group”
  8. Write User or Group name – write the user name of the user you created
  9. Tick 3 read option under – Overall, Job, View
  10. Save and Apply

Login with the new user id and check if the changes are reflected

Tags:

Jenkins