private static AclEntry newAclEntry(AclEntryScope scope, AclEntryType type,
                                      FsAction permission) {
    return new AclEntry.Builder().setScope(scope).setType(type)
        .setPermission(permission).build();
  }
Create a new AclEntry with scope, type and permission (no name).

@param scope
         AclEntryScope scope of the ACL entry
@param type
         AclEntryType ACL entry type
@param permission
         FsAction set of permissions in the ACL entry
@return AclEntry new AclEntry
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/HdfsUtils.java