s4ravanan commented on code in PR #12582:
URL: https://github.com/apache/gravitino/pull/12582#discussion_r3975118200
##########
core/src/main/java/org/apache/gravitino/hook/FilesetHookDispatcher.java:
##########
@@ -127,8 +127,10 @@ public boolean dropFileset(NameIdentifier ident) {
List<String> locations =
AuthorizationUtils.getMetadataObjectLocation(ident,
Entity.EntityType.FILESET);
boolean dropped = dispatcher.dropFileset(ident);
- AuthorizationUtils.authorizationPluginRemovePrivileges(
- ident, Entity.EntityType.FILESET, locations);
+ if (dropped) {
Review Comment:
@yuqi1129 I have updated the PR, can you please check and let me know the
comments.
--
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]