How to limit user rights on jenkins?

So, I can add users to Jenkins freely. However, it seems that for some reason I cannot restrict permissions for these users.

Currently, any added user can see any Jenkins work and run ANY of these tasks / tasks.

I could not find any documentation or anything on the Managers or Credentials tab in Jenkins to limit certain tasks to specific users.

is it even possible?

+6
source share
1 answer

Sure. Maybe.

Install this plugin - Matrix Authorization Strategy Plugin

Manage Jenkins โ†’ Configure Global Security โ†’ Enable โ€œProject-Based Authorization Strategyโ€

Now, by default, the administrator will have access to all tasks.

If you want someone to have access to a specific task, go to the task details page and enable "Enable project-based protection." Add a user and provide appropriate access.

All other users can view tasks for which they have been granted access.

+7
source

Source: https://habr.com/ru/post/984963/


All Articles