mirror of
https://github.com/owncloud/ocis
synced 2026-04-26 01:35:25 +02:00
feat: refine way of adding users to instances
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
This commit is contained in:
@@ -101,7 +101,6 @@ func DefaultConfig() *config.Config {
|
||||
UserIDAttribute: "owncloudUUID",
|
||||
UserTypeAttribute: "ownCloudUserType",
|
||||
UserEnabledAttribute: "ownCloudUserEnabled",
|
||||
UserGuestAttribute: "ownCloudGuestOf",
|
||||
ExternalIDAttribute: "owncloudExternalID",
|
||||
DisableUserMechanism: "attribute",
|
||||
LdapDisabledUsersGroupDN: "cn=DisabledUsersGroup,ou=groups,o=libregraph-idm",
|
||||
@@ -113,6 +112,14 @@ func DefaultConfig() *config.Config {
|
||||
GroupMemberAttribute: "member",
|
||||
GroupIDAttribute: "owncloudUUID",
|
||||
EducationResourcesEnabled: false,
|
||||
// Multi-Instance example config. Note: Multi-Instance is disabled by default
|
||||
UserMemberAttribute: "owncloudMemberOf",
|
||||
UserGuestAttribute: "ownCloudGuestOf",
|
||||
PreciseSearchAttribute: "cn",
|
||||
InstanceMapperEnabled: true,
|
||||
InstanceMapperBaseDN: "dc=owncloud,dc=com",
|
||||
InstanceMapperNameAttribute: "description",
|
||||
InstanceMapperIDAttribute: "cn",
|
||||
},
|
||||
},
|
||||
Cache: &config.Cache{
|
||||
@@ -133,6 +140,9 @@ func DefaultConfig() *config.Config {
|
||||
Validation: config.Validation{
|
||||
MaxTagLength: 100,
|
||||
},
|
||||
MultiInstance: config.MultiInstanceConfig{
|
||||
QueryRegexp: "([^@]+)@(.+)",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user