[BUGFIX] Disable restricted users to handle page records in pagetree 02/19802/4
authorFrank Frewer <info@frankfrewer.de>
Thu, 11 Apr 2013 17:53:39 +0000 (19:53 +0200)
committerJigal van Hemert <jigal@xs4all.nl>
Fri, 24 May 2013 12:03:37 +0000 (14:03 +0200)
commitc8a0f8be63a00689abfad9d38be20da5b46fd92e
tree1dbeac92310b8716503c68f872d0606f48facb12
parent2030fdcf10ef75469244c467a4d77663259ee998
[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/19802
Reviewed-by: Henrik Ziegenhain
Tested-by: Henrik Ziegenhain
Reviewed-by: Philipp Gampe
Reviewed-by: Alexander Opitz
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