hdygxsj commented on code in PR #9018:
URL: https://github.com/apache/gravitino/pull/9018#discussion_r2523177635


##########
core/src/main/java/org/apache/gravitino/authorization/OwnerManager.java:
##########
@@ -110,12 +110,13 @@ public void setOwner(
         newOwner.name = ownerName;
         newOwner.type = Owner.Type.GROUP;
       }
-
-      AuthorizationUtils.callAuthorizationPluginForMetadataObject(
-          metalake,
-          metadataObject,
-          authorizationPlugin ->
-              authorizationPlugin.onOwnerSet(metadataObject, 
originOwner.orElse(null), newOwner));
+      if (metadataObject.type() != MetadataObject.Type.TAG) {

Review Comment:
   > We should let this method handle the tag. Because tag becomes a metadata 
object.
   
   This method seems to be for handling pushdown, tags shouldn’t be in the 
underlying engine, right?
   
   



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