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


##########
server/src/main/java/org/apache/gravitino/server/web/rest/PolicyOperations.java:
##########
@@ -314,9 +314,8 @@ public Response listMetadataObjectsForPolicy(
           () -> {
             MetadataObject[] objects =
                 policyDispatcher.listMetadataObjectsForPolicy(metalake, 
policyName);
-            // TODO filter by can-access-metadata, MetadataFilterHelper can 
not support now
             objects = objects == null ? new MetadataObject[0] : objects;
-
+            objects = MetadataAuthzHelper.filterMetadataObject(metalake, 
objects);

Review Comment:
   fixed



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