From a65c4356b89e497edf190eea17c995cc2044f968 Mon Sep 17 00:00:00 2001 From: anhefti Date: Wed, 6 May 2020 12:08:40 +0200 Subject: [PATCH] SEBSERV-126 fix --- .../java/ch/ethz/seb/sebserver/gui/content/LmsSetupList.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/content/LmsSetupList.java b/src/main/java/ch/ethz/seb/sebserver/gui/content/LmsSetupList.java index ea8e2221..781759e5 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/content/LmsSetupList.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/content/LmsSetupList.java @@ -186,7 +186,7 @@ public class LmsSetupList implements TemplateComposer { action -> LmsSetupForm.testLmsSetup(action, null, restService)), EMPTY_SELECTION_TEXT_KEY) .withConfirm(this.pageService.confirmDeactivation(table)) - .publishIf(() -> userGrant.im() && table.hasAnyContent(), false); + .publishIf(() -> userGrant.iw() && table.hasAnyContent(), false); }