gh-yzou commented on code in PR #1264:
URL: https://github.com/apache/polaris/pull/1264#discussion_r2023781786


##########
polaris-core/src/main/java/org/apache/polaris/core/entity/PolarisPrivilege.java:
##########
@@ -162,7 +208,7 @@ public enum PolarisPrivilege {
   private final PolarisEntityType securableType;
 
   // the subtype of the securable for this privilege
-  private final PolarisEntitySubType securableSubType;
+  private final List<PolarisEntitySubType> securableSubTypes;

Review Comment:
   I think for definition clearness and completeness, the definition extension 
is needed here. The entity type and subtype used in the privilege here today 
seems really just a definition purpose to me (none of them seems used for 
validation), for that purpose, i think make sure it have a complete subtype 
list necessary. 



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