mirror of
https://github.com/YunoHost-Apps/coin_ynh.git
synced 2024-09-03 18:16:26 +02:00
[fix] no access
This commit is contained in:
parent
33f40306e3
commit
d46262f6e5
1 changed files with 3 additions and 3 deletions
|
@ -77,9 +77,9 @@ AUTH_LDAP_USER_ATTR_MAP = {
|
||||||
"email": "mail",
|
"email": "mail",
|
||||||
}
|
}
|
||||||
AUTH_LDAP_USER_FLAGS_BY_GROUP = {
|
AUTH_LDAP_USER_FLAGS_BY_GROUP = {
|
||||||
"is_active": "cn=sftpusers,ou=groups,dc=yunohost,dc=org",
|
"is_active": "cn=admins,ou=groups,dc=yunohost,dc=org",
|
||||||
"is_staff": "cn=sftpusers,ou=groups,dc=yunohost,dc=org",
|
"is_staff": "cn=admins,ou=groups,dc=yunohost,dc=org",
|
||||||
"is_superuser": "cn=sftpusers,ou=groups,dc=yunohost,dc=org"
|
"is_superuser": "cn=admins,ou=groups,dc=yunohost,dc=org"
|
||||||
}
|
}
|
||||||
AUTH_LDAP_GROUP_SEARCH = LDAPSearch("ou=groups,dc=yunohost,dc=org", ldap.SCOPE_SUBTREE, "(objectClass=posixGroup)")
|
AUTH_LDAP_GROUP_SEARCH = LDAPSearch("ou=groups,dc=yunohost,dc=org", ldap.SCOPE_SUBTREE, "(objectClass=posixGroup)")
|
||||||
AUTH_LDAP_GROUP_TYPE = PosixGroupType()
|
AUTH_LDAP_GROUP_TYPE = PosixGroupType()
|
||||||
|
|
Loading…
Add table
Reference in a new issue