bharos commented on code in PR #9268:
URL: https://github.com/apache/gravitino/pull/9268#discussion_r2563831311


##########
server-common/src/main/java/org/apache/gravitino/server/authorization/jcasbin/JcasbinAuthorizer.java:
##########
@@ -216,6 +216,12 @@ public boolean isMetalakeUser(String metalake) {
     if (StringUtils.isBlank(currentUserName)) {
       return false;
     }
+
+    // Service admins are considered users of all metalakes
+    if (isServiceAdmin()) {

Review Comment:
   I think so.
   Service admins need to access any metalake for administrative operations 
without being explicitly added as users ?
   
   Will it work without this check



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

Reply via email to