class MonitoringOfficerPermissionRules extends BasePermissionRules {

    @PermissionRule(
            value = "VIEW_MONITORING_OFFICER",
            description = "Partners can view Monitoring Officers on Projects that they are partners on")
    public boolean partnersCanViewMonitoringOfficersOnTheirProjects(ProjectResource project, UserResource user) {
        return isPartner(project.getId(), user.getId());
    }

}