class ProjectDetailsPermissionRules extends BasePermissionRules {

    @PermissionRule(value = "UPDATE_PARTNER_PROJECT_LOCATION", description = "A partner can update the project location for their own organisation")
    public boolean partnersCanUpdateProjectLocationForTheirOwnOrganisation(ProjectOrganisationCompositeId composite, UserResource user) {
        return partnerBelongsToOrganisation(composite.getProjectId(), user.getId(), composite.getOrganisationId());
    }

}