jerqi commented on code in PR #7536:
URL: https://github.com/apache/gravitino/pull/7536#discussion_r2181594935
##########
core/src/main/java/org/apache/gravitino/hook/AccessControlHookDispatcher.java:
##########
@@ -191,13 +196,33 @@ public String[] listRoleNamesByObject(String metalake,
MetadataObject object)
public Role grantPrivilegeToRole(
String metalake, String role, MetadataObject object, Set<Privilege>
privileges)
throws NoSuchMetalakeException, NoSuchRoleException {
- return dispatcher.grantPrivilegeToRole(metalake, role, object, privileges);
+ Role roleAfterGrant = dispatcher.grantPrivilegeToRole(metalake, role,
object, privileges);
Review Comment:
`grantedRole`
--
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]