[KEYCLOAK-14076] - Authorization context not always considering scope when checking permission
This commit is contained in:
parent
8646d0668a
commit
c4a6f0830e
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ public class AuthorizationContext {
|
|||
}
|
||||
}
|
||||
|
||||
if (current != null) {
|
||||
if (current != null && scopeName == null) {
|
||||
if (current.getName().equals(resourceName)) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue