1
0
Fork 0

Fix group assignment

This commit is contained in:
Sandro - 2022-12-26 02:04:15 +01:00
parent 5e62b87f01
commit 618d047df8
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 2 additions and 1 deletions

View File

@ -170,7 +170,7 @@ in
# Important for role mappings to work:
use_roles = 1
role_basedn = "ou=groups,dc=c3d2,dc=de"
role_filter = "(&(objectclass=group)(%s))"
role_filter = "(&(objectclass=groupOfNames)(cn=hydra-admins))"
role_scope = one
role_field = cn
role_value = dn
@ -182,6 +182,7 @@ in
<role_mapping>
# maps directly to user roles
# Make all users in the hydra-admin group Hydra admins
# IMPORTANT: if new groups are used, they need to be added to the role_filter above
hydra-admins = admin
# Allow all users in the dev group to restart jobs and cancel builds
#dev = restart-jobs