2
votes

I have a Jenkins service running within our company. It uses the LDAP plugin (not the Active Directory plugin), integrates well with our Active Directory, and company users can successfully log in to Jenkins.

By default, when a user logs in, they don't have any permissions. As I have selected the project-based matrix authorization strategy, there is a long list of potential authorization options, and for each user, I (as a Jenkins administrator) currently have to manually (and tediously) select which authorizations I want to grant.

Is there a way to specify default authorizations for all non-anonymous users?

1

1 Answers

2
votes

One solution is to use the Role Strategy plugin with some dynamic AD groups.

The dynamic AD groups will contain your company employees, you can create group for developer or QA, ...

Next with the plugin, you can create some global roles and affect these roles to the relevant AD groups:

enter image description here

enter image description here

Does it help? :)