Fix group assignment

This commit is contained in:
Sandro - 2022-12-26 02:04:15 +01:00 committed by leon
parent 59deebf84a
commit 7917aab7fe
2 changed files with 2 additions and 2 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

View File

@ -54,7 +54,6 @@
virtualisation.docker.enable = true;
#<-----------------docker-------------------------
#>-----------------wireguard client---------------