roryqi opened a new pull request, #12113: URL: https://github.com/apache/gravitino/pull/12113
### What changes were proposed in this pull request? - Add an explicit authorization expression for loading group details. - Include metalake and group path parameters in the authorization metadata context. - Support GROUP::SELF in JCasbin authorization checks. - Add regression tests for group load authorization metadata and GROUP::SELF evaluation. ### Why are the changes needed? The group load API should follow the same authorization interception path as related user and group access-control APIs. Fix: #12112 ### Does this PR introduce _any_ user-facing change? No public API change. Group detail loading now follows the expected authorization behavior. ### How was this patch tested? - `./gradlew :server:test --tests org.apache.gravitino.server.web.rest.authorization.TestGroupAuthorizationExpression --tests org.apache.gravitino.server.web.rest.TestGroupOperations` - `./gradlew :server-common:test --tests org.apache.gravitino.server.authorization.jcasbin.TestJcasbinAuthorizer` - `git diff --check` -- 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]
