jenkins the definitive guide

(Jeff_L) #1

Figure 7.16. Matrix-based security configuration


The special “anonymous” user is always present in the table. This user represents unauthenticated users.
Typically, you only grant very limited rights to unauthenticated users, such as read-only access, or no
access at all (as shown in Figure 7.16, “Matrix-based security configuration”).


The first thing you need to do now is to grant administration rights to your administrator. Add your
administration user in the “User/group to add” field and click on Add. Your administrator will now
appear in the permissions matrix. Now make sure you grant this user every permission (see Figure 7.17,
“Setting up an administrator”), and save your configuration. You should now be able to log in with
your administrator account (if you aren’t already logged in with this account) and continue to set up
your other users.


Figure 7.17. Setting up an administrator


7.5.1.2. Fine-tuning user permissions


Once you have set up your administrator account, you can add any other users that need to access your
Jenkins instance. Simply add the user names and tick the permissions you want to grant them (see
Figure 7.18, “Setting up other users”). If you are using an LDAP server or Unix users and groups as
the underlying authentication schema (see Section 7.4.2, “Using an LDAP Repository”), you can also
configure permissions for groups of users.


Figure 7.18. Setting up other users

Free download pdf