private static AclEntry aclEntry(AclEntryScope scope, String name) {
    return new AclEntry.Builder().setScope(scope)
      .setType(AuthUtil.isGroupPrincipal(name) ? GROUP : USER).setName(name)
      .setPermission(READ_EXECUTE).build();
  }
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