Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to limit user permissions on jenkins? [duplicate]

So i'm able to freely add users on to Jenkins. However, it seems that for some reason, i can't limit permissions for these users.

Currently, any added user can see any Jenkins job and trigger ANY of these jobs/tasks.

I couldn't find any documentation nor anything in "Manager Users" nor Credentials tab on Jenkins for how to restrict certain jobs to certain users.

is this even possible?

like image 437
David T. Avatar asked Apr 10 '15 19:04

David T.


1 Answers

Ofcourse It is possible.

Install this plugin - Matrix Authorization Strategy Plugin

Manage Jenkins --> Configure global Security --> Enable 'Project-based Matrix Authorization Strategy'

Now by default admin will have access to all the jobs.

If you want someone to have access to specific job, go to the job details page & Enable 'Enable project-based security'. add the user & give appropriate access.

All other users - can view jobs for which they have been given access.

like image 133
vins Avatar answered Sep 30 '22 02:09

vins