1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Delegate calls of hasAuthority to AuthorizationManager#hasAuthority

Closes gh-18486

Signed-off-by: Michael Lück <michael@lueckonline.net>
This commit is contained in:
Michael Lück
2026-01-13 12:59:33 +01:00
committed by Josh Cummings
parent c29af014f4
commit 3a14745d92
@@ -116,7 +116,7 @@ public abstract class SecurityExpressionRoot<T extends @Nullable Object> impleme
@Override
public final boolean hasAuthority(String authority) {
return isGranted(this.authorizationManagerFactory.hasAnyAuthority(authority));
return isGranted(this.authorizationManagerFactory.hasAuthority(authority));
}
@Override