singhpk234 commented on code in PR #2048: URL: https://github.com/apache/polaris/pull/2048#discussion_r2205925686
########## service/common/src/main/java/org/apache/polaris/service/catalog/policy/PolicyCatalog.java: ########## @@ -525,19 +540,91 @@ private static Policy constructPolicy(PolicyEntity policyEntity) { .build(); } - private static ApplicablePolicy constructApplicablePolicy( - PolicyEntity policyEntity, boolean inherited) { + private boolean filterApplicablePolicy(PolicyEntity policyEntity) { + // check the type + if (policyEntity.getPolicyType().equals(ACCESS_CONTROL)) { Review Comment: Need a PolicyEntityAugmentor which could conditionally modify the object, working on it -- 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: issues-unsubscr...@polaris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org