Project

General

Profile

Actions

Bug #33147

closed

Missing 'Copy' function although user permissions exists

Added by Maik no-lastname-given over 12 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Pagetree
Target version:
Start date:
2012-01-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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

Actions #1

Updated by Jörg Zückert over 11 years ago

I can confirm this bug. Tested with TYPO3 4.7.1 PHP 5.3

Actions #2

Updated by Mathias Schreiber over 9 years ago

  • Target version set to 7.4 (Backend)
  • Is Regression set to No
Actions #3

Updated by Susanne Moog over 8 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #4

Updated by Benni Mack over 8 years ago

  • Target version changed from 7.5 to 8 LTS
Actions #5

Updated by Gerrit Code Review about 8 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

Actions #6

Updated by Gerrit Code Review about 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

Actions #7

Updated by Eugen Lang about 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Gerrit Code Review about 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

Actions #9

Updated by Anja Leichsenring about 8 years ago

  • Status changed from Under Review to Resolved
Actions #10

Updated by Christian Hünniger about 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)
    );
}

Actions #11

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF