mirror of
https://github.com/owncloud/ocis
synced 2026-04-28 10:37:42 +02:00
graph: Allow to disable the default role assignment on user creation
Introduces a switch ('GRAPH_ASSIGN_DEFAULT_USER_ROLE') to allow to disable the assignment of the default role "User" to newly created users.
This will be used for setups where the role-assignments are populated either manually or during first login (e.g. from OIDC claims)
This commit is contained in:
committed by
Ralf Haferkamp
parent
b4b0f7abe7
commit
81c0f21f78
@@ -40,6 +40,7 @@ func DefaultConfig() *config.Config {
|
||||
API: config.API{
|
||||
GroupMembersPatchLimit: 20,
|
||||
UsernameMatch: "default",
|
||||
AssignDefaultUserRole: true,
|
||||
},
|
||||
Reva: shared.DefaultRevaConfig(),
|
||||
Spaces: config.Spaces{
|
||||
|
||||
Reference in New Issue
Block a user