From 6f06efed744646f0670348675b16d2110147f6e2 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 9 Oct 2016 21:07:53 +0200 Subject: [PATCH] Disabled 'Never' setting for administrator permissions --- .../install/files/acp/templates/userGroupBooleanOptionType.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/acp/templates/userGroupBooleanOptionType.tpl b/wcfsetup/install/files/acp/templates/userGroupBooleanOptionType.tpl index bdbf79db1a..8f04b0e63d 100644 --- a/wcfsetup/install/files/acp/templates/userGroupBooleanOptionType.tpl +++ b/wcfsetup/install/files/acp/templates/userGroupBooleanOptionType.tpl @@ -7,7 +7,7 @@ - {if $group === null || !$group->isEveryone()} + {if $option->optionName|mb_strpos:'admin.' !== 0 && ($group === null || !$group->isEveryone())}
  • -- 2.20.1