Skip to content

Commit

Permalink
fix: change default config for the role mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
micbar committed Feb 28, 2024
1 parent 23eafeb commit 982c591
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog/unreleased/fix-default-roles-assignment.md
Original file line number Diff line number Diff line change
@@ -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/8534
2 changes: 1 addition & 1 deletion services/proxy/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
},
},
},
Expand Down

0 comments on commit 982c591

Please sign in to comment.