Allow MW_Database Admin
s staff access
This commit is contained in:
parent
03ad109aa4
commit
f40844263e
@ -28,9 +28,14 @@ AUTH_LDAP_USER_ATTR_MAP = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
AUTH_LDAP_USER_FLAGS_BY_GROUP = {
|
AUTH_LDAP_USER_FLAGS_BY_GROUP = {
|
||||||
"is_staff": LDAPGroupQuery(
|
"is_staff": (
|
||||||
|
LDAPGroupQuery(
|
||||||
"cn=MW_CMS Staff,cn=groups,dc=sawtooth,dc=claremontmakerspace,dc=org"
|
"cn=MW_CMS Staff,cn=groups,dc=sawtooth,dc=claremontmakerspace,dc=org"
|
||||||
),
|
)
|
||||||
|
| LDAPGroupQuery(
|
||||||
|
"cn=MW_Database Admin,cn=groups,dc=sawtooth,dc=claremontmakerspace,dc=org"
|
||||||
|
)
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
AUTH_LDAP_GROUP_SEARCH = LDAPSearch(
|
AUTH_LDAP_GROUP_SEARCH = LDAPSearch(
|
||||||
|
Loading…
Reference in New Issue
Block a user