[TASK] Copy is missing in pagetree context menu without edit permissions 19/47119/2
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:31:14 +0000 (20:31 +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/47119
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
typo3/sysext/core/Configuration/DefaultConfiguration.php

index 67137c5..901668f 100644 (file)
@@ -929,7 +929,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
                                                                }
 
@@ -938,7 +938,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
                                                                }