adutra commented on code in PR #4506:
URL: https://github.com/apache/polaris/pull/4506#discussion_r3282933740
##########
extensions/auth/ranger/impl/src/main/java/org/apache/polaris/extension/auth/ranger/RangerPolarisOperationSemantics.java:
##########
@@ -165,6 +166,10 @@ enum ResolvedPathRooting {
RBAC_SEMANTICS_BY_OPERATION.put(
PolarisAuthorizableOperation.REGISTER_TABLE,
new RangerPolarisOperationSemantics(toSet(TABLE_CREATE), null,
ResolvedPathRooting.ROOT));
+ RBAC_SEMANTICS_BY_OPERATION.put(
Review Comment:
FYI this PR now has ramifications into the Ranger authorizer. I did the best
I could. There is no simple way to map a super-privilege like
`TABLE_FULL_METADATA` into Ranger logic. And oddly enough, some test files
already mentioned a privilege named "table-metadata-full".
cc @flyrain @sririshindra @sneethiraj
--
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]