mirror of
https://github.com/owncloud/ocis
synced 2026-04-26 01:35:25 +02:00
enhancement: add allowed role validation to the go-playground validator
This commit is contained in:
@@ -114,6 +114,9 @@ func DefaultConfig() *config.Config {
|
||||
Cluster: "ocis-cluster",
|
||||
EnableTLS: false,
|
||||
},
|
||||
UnifiedRoles: config.UnifiedRoles{
|
||||
AvailableRoles: nil, // will be populated with defaults in EnsureDefaults
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user