Bug #33546

Copy in pagetree without permission leads to faulty behavior of pagetree

Added by Andreas Bigger over 10 years ago. Updated almost 4 years ago.

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

100%

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

Description

A redactor copies a page in pagetree via context-menu.

He inserts the same via context-menu into a page where he has no rights to insert it. Now, the following happens:
1. The menu for inserting the page is shown, even if the permissions are not there.
2. After the insertion you can read for a few seconds the following message:

Exception

[1.1.12]: Attempt to insert a record on page '%s' (%s) from table '%s' without permissions. Or non-existing page.

3. The page is inserted into the pagetree at the place selected as if the permissions were correct, but the page has the id of the original page. Any changes in this page affect the original.
4. After logout and relogin the copied page is no longer in the pagetree. Only the (changed) original is available.

#1

Updated by Max Roesch over 10 years ago

I can confirm this behavior in TYPO3 4.6.7

Will have a look at it.

#2

Updated by Gerrit Code Review over 10 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10483

#3

Updated by Andreas Bigger over 10 years ago

Tested it in our TYPO3 4.5.15 => works (inserting no longer possible)!

Copy with adequate permission works too.

Is there any other thing one should test?

#4

Updated by Gerrit Code Review over 10 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10483

#5

Updated by Max Roesch over 10 years ago

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

Updated by Gerrit Code Review over 10 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/11065

#7

Updated by Gerrit Code Review over 10 years ago

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/11066

#8

Updated by Gerrit Code Review over 10 years ago

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/11067

#9

Updated by Max Roesch about 10 years ago

  • Status changed from Under Review to Resolved
#10

Updated by Gerrit Code Review about 10 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/13176

#11

Updated by Gerrit Code Review about 10 years ago

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/13302

#12

Updated by Stefan Galinski almost 10 years ago

  • Status changed from Under Review to Resolved
#13

Updated by Benni Mack almost 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF