graph: Allow provisioning users with legacy names (#5255)

Via configuration you can now configure to skip the validation of username and
instead decide to trust the upstream system that is adding users.
This commit is contained in:
Daniel Swärd
2023-01-13 15:23:40 +07:00
committed by Ralf Haferkamp
parent 7c9452768e
commit 96239af982
6 changed files with 90 additions and 9 deletions

View File

@@ -36,6 +36,7 @@ func DefaultConfig() *config.Config {
},
API: config.API{
GroupMembersPatchLimit: 20,
UsernameMatch: "default",
},
Reva: shared.DefaultRevaConfig(),
Spaces: config.Spaces{