Skip to content

Commit

Permalink
Add pacs_users to the groups managed by LDAP for LDAP users
Browse files Browse the repository at this point in the history
  • Loading branch information
jbernal0019 committed Nov 8, 2024
1 parent a068b9c commit 4b9c6ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chris_backend/config/settings/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
AUTH_LDAP_USER_FLAGS_BY_GROUP = {
'is_staff': f'cn={AUTH_LDAP_CHRIS_ADMIN_GROUP},{AUTH_LDAP_GROUP_SEARCH_ROOT}'
}
AUTH_LDAP_MIRROR_GROUPS_EXCEPT = ['all_users', 'pacs_users']
AUTH_LDAP_MIRROR_GROUPS_EXCEPT = ['all_users']

AUTHENTICATION_BACKENDS = (
'users.models.CustomLDAPBackend',
Expand Down
2 changes: 1 addition & 1 deletion chris_backend/config/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def get_secret(setting, secret_type=env):
AUTH_LDAP_USER_FLAGS_BY_GROUP = {
'is_staff': f'cn={AUTH_LDAP_CHRIS_ADMIN_GROUP},{AUTH_LDAP_GROUP_SEARCH_ROOT}'
}
AUTH_LDAP_MIRROR_GROUPS_EXCEPT = ['all_users', 'pacs_users']
AUTH_LDAP_MIRROR_GROUPS_EXCEPT = ['all_users']

AUTHENTICATION_BACKENDS = (
'users.models.CustomLDAPBackend',
Expand Down

0 comments on commit 4b9c6ac

Please sign in to comment.