[BUGFIX] Add permission checks to edit icons in filelist and context menu 01/32901/2
authorFranz Koch <typo3@elements-net.de>
Wed, 27 Aug 2014 20:39:10 +0000 (22:39 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sun, 21 Sep 2014 15:38:49 +0000 (17:38 +0200)
commit1be26f4e4949d2283f8a810b1d9f4b150b1d6694
treea3aee07b3d59d497fa6d095c32d6f29099f64e78
parent80aabffe1bea30cc69e26125ba3aec7dc26e88d3
[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/32901
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/backend/Classes/ClickMenu/ClickMenu.php
typo3/sysext/filelist/Classes/FileList.php