class MonitoringOfficerPermissionRules extends BasePermissionRules {

    @PermissionRule(
            value = "VIEW_MONITORING_OFFICER",
            description = "Competition finance user can view Monitoring Officers on any Project in their competitions")
    public boolean competitionFinanceUsersCanViewMonitoringOfficersForAProjectOnTheirCompetitions(ProjectResource project, UserResource user) {
        return userIsExternalFinanceInCompetition(project.getCompetition(), user.getId());
    }

}