Unify the cache management permissions to `admin.management.canRebuildData`
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 4 May 2023 13:54:02 +0000 (15:54 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 4 May 2023 13:54:02 +0000 (15:54 +0200)
commit7d0690b5e8ef97dc52e44a554b00dc2941e88702
tree952e670368c970c6886bbdab5caddee927984261
parent3a0d55353fe88c7510d7b973e1436bd430bcff46
Unify the cache management permissions to `admin.management.canRebuildData`

Previously CacheListPage and CacheClearAction used differing permissions, which
is not useful at all. Especially since the template didn't check the differing
permissions.

Unify them to “can rebuild data”, because it's the most related one, clearing
the cache effectively rebuilds some data.
com.woltlab.wcf/acpMenu.xml
wcfsetup/install/files/lib/acp/action/CacheClearAction.class.php
wcfsetup/install/files/lib/acp/page/CacheListPage.class.php