[TASK] Copy is missing in pagetree context menu without edit permissions 93/46893/3
authorGianluigi Martino <gmartino27@gmail.com>
Thu, 25 Feb 2016 13:47:38 +0000 (14:47 +0100)
committerJan Helke <typo3@helke.de>
Sat, 5 Mar 2016 19:30:41 +0000 (20:30 +0100)
Show copy option in pagetree context menu also without edit permission

Change-Id: Icefaa7ef775fa5eb23652e00fe7643ae863c0e19
Resolves: #73470
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/46893
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
typo3/sysext/core/Configuration/DefaultConfiguration.php

index 8f65d06..384f9cf 100644 (file)
@@ -923,7 +923,7 @@ return array(
                                                                        name = copy
                                                                        label = LLL:EXT:lang/locallang_core.xlf:cm.copy
                                                                        iconName = actions-edit-copy
-                                                                       displayCondition = isInCopyMode = 0 && canBeCopied != 0
+                                                                       displayCondition = isInCopyMode = 0
                                                                        callbackAction = enableCopyMode
                                                                }
 
@@ -932,7 +932,7 @@ return array(
                                                                        name = copy
                                                                        label = LLL:EXT:lang/locallang_core.xlf:cm.copy
                                                                        iconName = actions-edit-copy-release
-                                                                       displayCondition = isInCopyMode = 1 && canBeCopied != 0
+                                                                       displayCondition = isInCopyMode = 1
                                                                        callbackAction = disableCopyMode
                                                                }