class DocumentPermissionRules extends BasePermissionRules {

    @PermissionRule(value = "DOWNLOAD_DOCUMENT", description = "Monitoring officer can download document")
    public boolean monitoringOfficerCanDownloadDocument(ProjectResource project, UserResource user) {
        return isMonitoringOfficer(project.getId(), user.getId());
    }

}