[BUGFIX] Disable restricted users to handle page records in pagetree 54/21154/2
authorFrank Frewer <info@frankfrewer.de>
Thu, 11 Apr 2013 17:53:39 +0000 (19:53 +0200)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Wed, 29 May 2013 17:04:06 +0000 (19:04 +0200)
commit4b9478fa923043545afd567c657a00c8294df3f5
tree7b8b83385e34b96e2ebbe54fddcda0bf3010d70c
parent55e5ecc62437d43728c14aba24a79837f57a0c99
[BUGFIX] Disable restricted users to handle page records in pagetree

This patch hides the context menu entries 'disable'/'enable', 'edit',
'new', 'cut', 'copy', 'paste into', 'paste after' and 'delete' in
case an user is restricted to only non default languages.
Additionally it throws an error message if the user is trying to edit
a page title directly in the pagetree via double click.

Resolves: #47126
Releases: 6.2,6.1, 6.0, 4.7, 4.5
Change-Id: I13537529d4b72763c3a2ff5c75b5ae53a9e3fec1
Reviewed-on: https://review.typo3.org/21154
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/backend/Classes/Tree/Pagetree/Commands.php
typo3/sysext/backend/Classes/Tree/Pagetree/PagetreeNode.php