jerqi commented on code in PR #7726:
URL: https://github.com/apache/gravitino/pull/7726#discussion_r2209638170
##########
server-common/src/main/java/org/apache/gravitino/server/authorization/jcasbin/JcasbinAuthorizer.java:
##########
@@ -91,6 +99,31 @@ public boolean isOwner(Principal principal, String metalake,
MetadataObject meta
return authorizeInternal(principal, metalake, metadataObject,
AuthConstants.OWNER);
}
+ @Override
+ public boolean isServiceAdmin() {
Review Comment:
You can reuse `AccessControlManager::isServiceAdmin` directly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]