@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        PermissionConstraint that = (PermissionConstraint) o;
        return constrained == that.constrained && Objects.equals(permittedOrgs, that.permittedOrgs) && permissionType == that.permissionType
                       && Objects.equals(allowedVisibilities, that.allowedVisibilities);
    }
@param allowedVisibilities the set of discoverabilities allowed
manager/api/beans/src/main/java/io/apiman/manager/api/beans/idm/PermissionConstraint.java