Bug #33147
closedMissing 'Copy' function although user permissions exists
100%
Description
Hi there!
I've created some template pages so users are able to create their personal page in short time.
I set the permission "Show page: Show/Copy page and content.", all others are disabled.
Now the users can copy&paste the pages in page and list view, but not in the pagetree.
When clicking on the page icon (pagetree), there is no "Page Actions" available in the menu. It doesn't appear between History and Branch Actions.
After extending the permission f.e. with "New pages", the Page Actions sub-menu is visible with the options New and Copy...
Bug or Feature? ;-)
Tested with Typo3 4.5.11/PHP 5.2 and Typo3 4.7.0alpha2/PHP 5.3
How to reproduce?
1. create an editor group and put some user in it
2. set page access permissions for the new group to "Show page" and disable the other 4
3. switch to the user and try to copy the page via pagetree
best regards,
Maik
Updated by Jörg Zückert about 12 years ago
I can confirm this bug. Tested with TYPO3 4.7.1 PHP 5.3
Updated by Mathias Schreiber almost 10 years ago
- Target version set to 7.4 (Backend)
- Is Regression set to No
Updated by Susanne Moog over 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Benni Mack about 9 years ago
- Target version changed from 7.5 to 8 LTS
Updated by Gerrit Code Review almost 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46481
Updated by Gerrit Code Review over 8 years ago
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47106
Updated by Eugen Lang over 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 07da5bb4d2f081f36b3c3fc5d80b37f9d5b52477.
Updated by Gerrit Code Review over 8 years ago
- Status changed from Resolved to Under Review
Patch set 3 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46481
Updated by Anja Leichsenring over 8 years ago
- Status changed from Under Review to Resolved
Applied in changeset 7147de072d76a37126b5436d19ce43933adf1ff2.
Updated by Christian Hünniger over 8 years ago
Hi,
Thank you but can you merge this also in the TYPO3 6 LTS branch?
I've tested this an it works.
/**
* Checks if the page is allowed to be copied
*
* @return boolean
*/
public function canBeCopied() {
return (
//$this->canCreate($this->record)
$GLOBALS['BE_USER']->doesUserHaveAccess($this->record, 1)
&& !VersionState::cast($this->record['t3ver_state'])->equals(VersionState::DELETE_PLACEHOLDER)
&& $GLOBALS['BE_USER']->checkLanguageAccess(0)
);
}
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed