Project

General

Profile

Actions

Bug #33546

closed

Copy in pagetree without permission leads to faulty behavior of pagetree

Added by Andreas Bigger about 12 years ago. Updated over 5 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.

Actions #1

Updated by Max Roesch almost 12 years ago

I can confirm this behavior in TYPO3 4.6.7

Will have a look at it.

Actions #2

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

Actions #3

Updated by Andreas Bigger almost 12 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?

Actions #4

Updated by Gerrit Code Review almost 12 years ago

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

Actions #5

Updated by Max Roesch almost 12 years ago

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

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

Actions #7

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

Actions #8

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

Actions #9

Updated by Max Roesch almost 12 years ago

  • Status changed from Under Review to Resolved
Actions #10

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

Actions #11

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

Actions #12

Updated by Stefan Galinski over 11 years ago

  • Status changed from Under Review to Resolved
Actions #13

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF