[KEYCLOAK-14076] - Authorization context not always considering scope when checking permission

This commit is contained in:
Pedro Igor 2020-05-05 17:56:39 -03:00 committed by Stian Thorgersen
parent 8646d0668a
commit c4a6f0830e

View file

@ -69,7 +69,7 @@ public class AuthorizationContext {
}
}
if (current != null) {
if (current != null && scopeName == null) {
if (current.getName().equals(resourceName)) {
return true;
}