private Set<String>
    getUsersWithReadAction(ListMultimap<String, UserPermission> permissionMultimap) {
    return permissionMultimap.entries().stream()
      .filter(entry -> checkUserPermission(entry.getValue())).map(Map.Entry::getKey)
      .collect(Collectors.toSet());
  }
Return users with table read permission
@param tableName        the table
@param includeNamespace true if include users with namespace read action
@param includeGlobal    true if include users with global read action
@return users with table read permission
@throws IOException if an error occurred
hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/SnapshotScannerHDFSAclHelper.java