roryqi opened a new pull request, #12964: URL: https://github.com/apache/gravitino/pull/12964
### What changes were proposed in this pull request?\n\n1. Add DTOs for policy-to-tag associations and selectors.\n2. Add REST APIs for listing, adding, and removing associations.\n3. Add the corresponding Java client APIs.\n4. Add authorization expressions and privilege definitions.\n5. Resolve metadata object policies from effective tags and matching selectors.\n6. Stop exposing direct object-policy mutation routes.\n\n### Why are the changes needed?\n\nUsers need REST and client APIs to manage policies on tags. Metadata object policies should be derived from effective tags instead of legacy direct policy relations.\n\nFix: #12176\n\n### Does this PR introduce _any_ user-facing change?\n\nYes. This PR adds policy-on-tag REST and Java client APIs and changes metadata object policy resolution to use effective tags.\n\n### How was this patch tested?\n\n- Spotless checks for the affected Java modules\n- Targeted Core, Common, Server Common, and REST tests\n- Java client compilation\ n- -- 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]
