FANNG1 commented on code in PR #10189:
URL: https://github.com/apache/gravitino/pull/10189#discussion_r2894112693
##########
server/src/main/java/org/apache/gravitino/server/web/rest/PolicyOperations.java:
##########
@@ -334,17 +334,32 @@ public Response listMetadataObjectsForPolicy(
}
static PolicyDTO toDTO(PolicyEntity policy, Optional<Boolean> inherited) {
+ // Keep "custom" lowercase for backward compatibility, and return enum
name for built-ins.
+ String policyType =
Review Comment:
@mchades please help to review this part
--
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]