/** * Only project admins and annotators can see this page */ @Override public boolean applies() { return SecurityUtil.annotationEnabeled(projectService, userRepo.getCurrentUser(), WebAnnoConst.PROJECT_TYPE_AUTOMATION); }
/** * Only project admins and annotators can see this page */ @Override public boolean applies() { return annotationEnabeled(projectService, userRepo.getCurrentUser(), WebAnnoConst.PROJECT_TYPE_ANNOTATION); }
/** * Only project admins and annotators can see this page */ @Override public boolean applies() { return SecurityUtil.annotationEnabeled(projectService, userRepo.getCurrentUser(), WebAnnoConst.PROJECT_TYPE_AUTOMATION); }
/** * Only project admins and annotators can see this page */ @Override public boolean applies() { return annotationEnabeled(projectService, userRepo.getCurrentUser(), WebAnnoConst.PROJECT_TYPE_CORRECTION); }
!annotationEnabeled(projectService, user, WebAnnoConst.PROJECT_TYPE_ANNOTATION) && !annotationEnabeled(projectService, user, WebAnnoConst.PROJECT_TYPE_AUTOMATION) && !annotationEnabeled(projectService, user, WebAnnoConst.PROJECT_TYPE_CORRECTION) && !curationEnabeled(projectService, user))
!annotationEnabeled(projectService, user, WebAnnoConst.PROJECT_TYPE_ANNOTATION) && !annotationEnabeled(projectService, user, WebAnnoConst.PROJECT_TYPE_AUTOMATION) && !annotationEnabeled(projectService, user, WebAnnoConst.PROJECT_TYPE_CORRECTION) && !curationEnabeled(projectService, user))
!annotationEnabeled(projectService, user, WebAnnoConst.PROJECT_TYPE_ANNOTATION) && !annotationEnabeled(projectService, user, WebAnnoConst.PROJECT_TYPE_AUTOMATION) && !annotationEnabeled(projectService, user, WebAnnoConst.PROJECT_TYPE_CORRECTION) && !curationEnabeled(projectService, user))
!annotationEnabeled(projectService, user, WebAnnoConst.PROJECT_TYPE_ANNOTATION) && !annotationEnabeled(projectService, user, WebAnnoConst.PROJECT_TYPE_AUTOMATION) && !annotationEnabeled(projectService, user, WebAnnoConst.PROJECT_TYPE_CORRECTION) && !curationEnabeled(projectService, user))
!annotationEnabeled(projectService, user, WebAnnoConst.PROJECT_TYPE_ANNOTATION) && !annotationEnabeled(projectService, user, WebAnnoConst.PROJECT_TYPE_AUTOMATION) && !annotationEnabeled(projectService, user, WebAnnoConst.PROJECT_TYPE_CORRECTION) && !curationEnabeled(projectService, user))
!annotationEnabeled(projectService, user, WebAnnoConst.PROJECT_TYPE_ANNOTATION) && !annotationEnabeled(projectService, user, WebAnnoConst.PROJECT_TYPE_AUTOMATION) && !annotationEnabeled(projectService, user, WebAnnoConst.PROJECT_TYPE_CORRECTION) && !curationEnabeled(projectService, user))