Skip to content

Commit

Permalink
fix GROUP MAPPING
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Kueng committed Oct 1, 2024
1 parent 5c8f144 commit 8eea7bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions munkiwebadmin/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@
'TENANT_ID': TENANT_ID,
'RELYING_PARTY_ID': CLIENT_ID,
'GROUPS_CLAIM': 'groups',
"GROUP_TO_FLAG_MAPPING": {"is_staff": os.environ.get("STAFF_USERS", "localhost 127.0.0.1 [::1]").split(" "),
"is_superuser": os.environ.get("SUPER_USERS", "localhost 127.0.0.1 [::1]").split(" ")},
"GROUP_TO_FLAG_MAPPING": {"is_staff": os.environ.get("STAFF_USERS", "").split(";"),
"is_superuser": os.environ.get("SUPER_USERS", "").split(";")},
'LOGIN_EXEMPT_URLS': LOGIN_EXCLUDE_URLS,
}

Expand Down

0 comments on commit 8eea7bb

Please sign in to comment.