@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || this.getClass() != o.getClass()) {
            return false;
        }
        final OrPermission that = (OrPermission) o;
        return this.permissions.equals(that.permissions);
    }
Accepts as long as at least one of the permissions is accepted
cloud-core/src/main/java/org/incendo/cloud/permission/OrPermission.java