jerryshao commented on code in PR #7361:
URL: https://github.com/apache/gravitino/pull/7361#discussion_r2188874925
##########
api/src/main/java/org/apache/gravitino/policy/Policy.java:
##########
@@ -33,6 +34,20 @@
@Evolving
public interface Policy extends Auditable {
+ /** The set of metadata object types that the policy can be applied to. */
+ Set<MetadataObject.Type> SUPPORTS_ALL_OBJECT_TYPES =
+ new HashSet<MetadataObject.Type>() {
+ {
+ add(MetadataObject.Type.METALAKE);
Review Comment:
Is it valid to support policy for metalake? As we don't support tagging the
metalake, maybe we should align with the tag.
--
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]