class PartnerOrganisationPermissionRules extends BasePermissionRules {

    @PermissionRule(value = "READ", description = "Monitoring officers can see partner organisations on a project they are assigned to")
    public boolean monitoringOfficersUsersCanView(PartnerOrganisationResource partnerOrganisation, UserResource user) {
        return isMonitoringOfficer(partnerOrganisation.getProject(), user.getId());
    }

}