xunliu commented on code in PR #8297:
URL: https://github.com/apache/gravitino/pull/8297#discussion_r2320635652
##########
core/src/main/java/org/apache/gravitino/authorization/PermissionManager.java:
##########
@@ -80,6 +80,7 @@ User grantRolesToUser(String metalake, List<String> roles,
String user) {
AuthorizationUtils.ofUser(metalake, user),
UserEntity.class,
Entity.EntityType.USER,
+ roles,
userEntity -> {
List<RoleEntity> roleEntities = Lists.newArrayList();
Review Comment:
I revert this part code, we didn't need to modify here.
https://github.com/apache/gravitino/commit/649e7efc380eefcc64c7f29db1c2f042c8c1400c
--
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]