@Override
    public int hashCode() {
        return Objects.hash(constrained, permittedOrgs, permissionType, allowedVisibilities);
    }
@param allowedVisibilities the set of discoverabilities allowed
manager/api/beans/src/main/java/io/apiman/manager/api/beans/idm/PermissionConstraint.java