class PartnerOrganisationPermissionRules extends BasePermissionRules {

    @PermissionRule(value = "READ_PENDING_PARTNER_PROGRESS", description = "Competition finance users can read partner progress in project setup in competitions they are assigned to")
    public boolean competitionFinanceUsersCanReadPendingPartnerProgress(final PartnerOrganisationResource partnerOrganisation, final UserResource user) {
        return userIsExternalFinanceOnCompetitionForProject(partnerOrganisation.getProject(), user.getId());
    }

}