class PartnerOrganisationPermissionRules extends BasePermissionRules {

    @PermissionRule(value = "READ", description = "A partner can see a list of all partner organisations on their project")
    public boolean partnersOnProjectCanView(final PartnerOrganisationResource partnerOrganisation, final UserResource user) {
        return isPartner(partnerOrganisation.getProject(), user.getId());
    }

}