Configure user disable mechanism in reva.
This PR adds configuration parameters to the auth-basic and users services that passes them through to reva. These configuration parameters are all related to the new user disable mechanism that @Excds added to the graph API, and that I added to reva.
This commit is contained in:
committed by
Ralf Haferkamp
parent
b57504696b
commit
2f465fb5eb
@@ -78,6 +78,9 @@ func ldapConfigFromString(cfg config.LDAPDriver) map[string]interface{} {
|
||||
"group_filter": cfg.GroupFilter,
|
||||
"user_objectclass": cfg.UserObjectClass,
|
||||
"group_objectclass": cfg.GroupObjectClass,
|
||||
"user_disable_mechanism": cfg.DisableUserMechanism,
|
||||
"user_enabled_property": cfg.UserSchema.Enabled,
|
||||
"group_local_disabled_dn": cfg.LdapDisabledUsersGroupDN,
|
||||
"idp": cfg.IDP,
|
||||
"user_schema": map[string]interface{}{
|
||||
"id": cfg.UserSchema.ID,
|
||||
|
||||
Reference in New Issue
Block a user