[BUGFIX] Clear cache system icon is shown for non admin in dev context 64/46264/4
authorEric Chavaillaz <eric@hemmer.ch>
Wed, 27 Jan 2016 12:54:22 +0000 (13:54 +0100)
committerBenni Mack <benni@typo3.org>
Fri, 29 Jan 2016 08:55:34 +0000 (09:55 +0100)
commit9a589771170fc8a7e335250ca9ca4e5f2b75c854
tree48001568a16664c8fca09cfc93c9836f587ab615
parent4a3171351c3fa5bc1070531f1cf2c461e9c29059
[BUGFIX] Clear cache system icon is shown for non admin in dev context

If the context is in development mode, the clear cache system icon
is always shown in the toolbar, even if the user is not an admin.

Resolves: #72964
Releases: master, 7.6, 6.2
Change-Id: I674df49fee14ded4b2190cca098ddf146047e5f0
Reviewed-on: https://review.typo3.org/46264
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Classes/Backend/ToolbarItems/ClearCacheToolbarItem.php