Remove permissions for wcf.acp.menu.link.package acpMenu item
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 4 May 2023 14:07:35 +0000 (16:07 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 4 May 2023 14:10:08 +0000 (16:10 +0200)
The item will automatically disappear if no child items are visible, because it
acts as a container only.

Previously the `admin.configuration.canManageApplication` permission was
missing and thus the menu item if one may manage applications without also
being allowed to manage packages.

com.woltlab.wcf/acpMenu.xml

index 1b87f4feed4fcec3157d6dfa3a4aae485832cd18..5fc556306bbec43328f0e84c86a5441fa4b51587 100644 (file)
@@ -20,7 +20,6 @@
                <!-- package -->
                <acpmenuitem name="wcf.acp.menu.link.package">
                        <parent>wcf.acp.menu.link.configuration</parent>
-                       <permissions>admin.configuration.package.canInstallPackage,admin.configuration.package.canUpdatePackage,admin.configuration.package.canUninstallPackage,admin.configuration.package.canEditServer</permissions>
                        <showorder>2</showorder>
                </acpmenuitem>
                <acpmenuitem name="wcf.acp.menu.link.application.management">