fix: change default config for the role mapping

This commit is contained in:
Michael Barz committed 2024-03-13 16:36:15 +01:00
1 parent 3197f217d6
commit d31f8d27ef
2 files changed
+6 -1

No files matched your search

@@ -0,0 +1,5 @@
Bugfix: Correct the default mapping of roles
The default config for the OIDC role mapping was incorrect. Lightweight users are now assignable.
https://github.com/owncloud/ocis/pull/8639
@@ -65,7 +65,7 @@ func DefaultConfig() *config.Config {
{RoleName: "admin", ClaimValue: "ocisAdmin"},
{RoleName: "spaceadmin", ClaimValue: "ocisSpaceAdmin"},
{RoleName: "user", ClaimValue: "ocisUser"},
{RoleName: "guest", ClaimValue: "ocisGuest"},
{RoleName: "user-light", ClaimValue: "ocisGuest"},
},
},
},