public static List<UserPermission> getUserTablePermissions(Configuration conf,
    TableName tableName, byte[] cf, byte[] cq, String userName, boolean hasFilterUser)
    throws IOException {
    return getUserPermissions(conf, tableName == null ? null : tableName.getName(), cf, cq,
      userName, hasFilterUser);
  }
Returns the currently granted permissions for a given table as the specified user plus
associated permissions.
hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/PermissionStorage.java