poojanilangekar opened a new pull request, #2170: URL: https://github.com/apache/polaris/pull/2170
I encountered the bug while implementing RBAC for federation. For grant/revoke operations on tables, polaris checks the subtype of the leaf entity and make sure it matches. However, for namespace the only check is that the resolved path is not null. Ideally we should check that the entire path matches the one sent in the request. Further, all entities except the root should be of type NAMESPACE. Testing: Added unit tests. -- 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