Bug #57064
closedNew option clearCache.system does not show up
100%
Description
With #54991 a new system cache was introduced, along with a new TSconfig property, called options.clearCache.system
. However setting this option to true does not work if the user does not also have either options.clearCache.pages
or options.clearCache.all
set to true too.
This is because the \TYPO3\CMS\Backend\Toolbar\ClearCacheToolbarItem
does not add the "system" options to the list of values to check for granting access.
Updated by Gerrit Code Review over 10 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/28518
Updated by Francois Suter over 10 years ago
Steps to reproduce:
- take an non-admin user and
options.clearCache.system = 1
to its TSconfig, taking care that there are no other "clearCache" options set - switch to that user => the clear cache menu does not show up
- apply the patch => the menu shows up
Updated by Gerrit Code Review over 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/28518
Updated by Gerrit Code Review over 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/28518
Updated by Gerrit Code Review over 10 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/28518
Updated by Francois Suter over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 3e651c38ba791c6c426887504821650704ece7f5.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed