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
No known key found for this signature in database
GPG Key ID: 869B37A20E876129

View File

@ -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