class ProjectPermissionRules extends BasePermissionRules {

    @PermissionRule(value = "READ", description = "A monitoring officer can see projects that they are assigned to")
    public boolean monitoringOfficerOnProjectCanView(final ProjectResource project, final UserResource user) {
        return project != null && isMonitoringOfficer(project.getId(), user.getId());
    }

}