hdygxsj commented on code in PR #9252:
URL: https://github.com/apache/gravitino/pull/9252#discussion_r2570304824
##########
core/src/main/java/org/apache/gravitino/cache/ReverseIndexRules.java:
##########
@@ -157,6 +157,14 @@ public class ReverseIndexRules {
nsFileset.level(0),
nsFileset.level(1));
break;
+ case TAG:
Review Comment:
> @hdygxsj I would not suggest you to add the code here as `policy` and
`tag` are not securable objects strictly. If you want to keep the reverse index
between `role` and `tag` or `policy`, you can add a new rule, please refer to
`USER_ROLE_REVERSE_RULE` and `USER_OWNERSHIP_REVERSE_RULE`.
We can now assign privileges to tags and policies—why are they not
SecurableObjects?
<img width="790" height="513" alt="image"
src="https://github.com/user-attachments/assets/68cc3123-47d6-441f-a043-97c111a552f5"
/>
--
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]