[BUGFIX] Add permission checks to edit icons in filelist and context menu 62/32462/9
authorFranz Koch <typo3@elements-net.de>
Wed, 27 Aug 2014 20:39:10 +0000 (22:39 +0200)
committerFrans Saris <franssaris@gmail.com>
Sun, 21 Sep 2014 08:04:01 +0000 (10:04 +0200)
commitcf94b0b347f6cd486788f5588bf5ad59ce8e9e6d
tree40302741a411ac7b4dba3199d7c2e24b0d77776f
parentfbfa107d3ff22d402e9715eb9e6e37e13f906c85
[BUGFIX] Add permission checks to edit icons in filelist and context menu

In filelist as well as in context menus the edit/info/cut/copy/paste
icons are always shown and not disabled/removed if related FAL object
doesn't allow these actions. These changes fix this.

Resolves: #61261
Releases: 6.2, 6.3
Change-Id: I318a1112e9ee3c2fda4db219364663c89161320c
Reviewed-on: http://review.typo3.org/32462
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
typo3/sysext/backend/Classes/ClickMenu/ClickMenu.php
typo3/sysext/filelist/Classes/FileList.php