KyleLin0927 opened a new pull request, #7376: URL: https://github.com/apache/gravitino/pull/7376
### What changes were proposed in this pull request? Currently, the `ROLE_USER_REL` relation in `JDBCBackend` only supports querying users by role, but not querying roles by user. This causes issues in `JcasbinAuthorizer` when trying to load user privileges. This PR adds support for querying roles by user in the `ROLE_USER_REL` relation by modifying the `listEntitiesByRelation` method in `JDBCBackend`. ### Why are the changes needed? Fixes #6786 ### Does this PR introduce any user-facing change? No. ### How was this patch tested? Ran `./gradlew clean build` -- 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]
