Skip to content

Commit

Permalink
Fix client credentials authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
blootsvoets committed May 22, 2023
1 parent 46e96c3 commit 0e84017
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ class MPAuthorizationOracle(
identity: RadarToken,
permission: Permission
): AuthorityReferenceSet {
if (identity.isClientCredentials) {
return AuthorityReferenceSet(global = true)
}
var global = false
val organizations = mutableSetOf<String>()
val projects = mutableSetOf<String>()
Expand Down

0 comments on commit 0e84017

Please sign in to comment.