roryqi opened a new pull request, #13863: URL: https://github.com/apache/gravitino/pull/13863
### What changes were proposed in this pull request? Add authorization-filtering indicators to metadata object tag and policy list responses: - `hasInaccessibleTags` - `hasInaccessiblePolicies` The indicators are included in both name and detailed responses. Tag and policy associations are aggregated before authorization filtering so direct and inherited associations follow the same behavior. ### Why are the changes needed? When all associated tags or policies are inaccessible, the APIs currently return an empty list indistinguishable from an object with no associations. The new fields indicate whether associations were omitted without exposing their names, count, details, or inheritance source. Fix: #13859 ### Does this PR introduce _any_ user-facing change? Yes. The metadata object tag and policy list APIs add boolean fields indicating whether inaccessible associations were omitted. ### How was this patch tested? - Common response DTO unit tests - Metadata object tag and policy REST tests - Tag and policy Docker authorization integration tests - `./gradlew :docs:build` - Spotless checks -- 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]
