junegunn commented on code in PR #8030:
URL: https://github.com/apache/hbase/pull/8030#discussion_r3193128027


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/PermissionStorage.java:
##########
@@ -486,6 +486,12 @@ public static ListMultimap<String, UserPermission> 
getTablePermissions(Configura
       null, false);
   }
 
+  public static ListMultimap<String, UserPermission> 
getTablePermissions(Configuration conf,
+    TableName tableName, Table t) throws IOException {
+    return getPermissions(conf, tableName != null ? tableName.getName() : 
null, t, null, null, null,
+      false);
+  }

Review Comment:
   The existing one without `t` can call this:
   
   ```java
     public static ListMultimap<String, UserPermission> 
getTablePermissions(Configuration conf,
       TableName tableName) throws IOException {
       return getTablePermissions(conf, tableName, null);
     }
   ```



-- 
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]

Reply via email to