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


##########
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:
   Good catch — done. The 2-arg overload now delegates to the 3-arg one with 
`t=null` to avoid duplicating the `getPermissions(...)` call.



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