Bug #16487

Changed permissions in workspace-versions are not respected

Added by Andreas Wolf about 13 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2006-08-24
Due date:
% Done:

0%

TYPO3 Version:
4.0
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

When you change the permissions of a page in the draft-workspace or a custom workspace, a new version of the page is automatically created (unless you have not created one before). The changes in the permissions are applied to the new version.

The problem here is that only the live-version is checked for the access-rights when editing in a draft-workspace. So the changed permissions in the draft-workspace are not taken into account, even if they are more liberal than the old ones.

To my mind there are two possible solutions: Either fix this bug and make the t3lib_befunc::readPageAccess read the correct information or generally only use the permissions from the live-version. And this would mean to also save the permissions with the live-version and the draft-version to preserve them when publishing the draft-version.

(issue imported from #M4092)

4092.patch View (1.47 KB) Administrator Admin, 2006-08-24 16:01


Related issues

Related to TYPO3 Core - Bug #33436: Changes to page usergroup access rights are not respected when previewing a workspace New 2012-01-25

History

#1 Updated by Andreas Wolf about 13 years ago

I have fixed this bug so now the permissions from versionized pages are respected within the workspace. Perhaps this is not the best solution, but it should be better than it is now.

#2 Updated by Andreas Wolf over 10 years ago

As stated in the latest version of "Inside TYPO3", only the permissions of the live workspace are taken into account. So the backend module should be fixed to only change permissions of the live page. The only remaining problem is how to handle access permissions - as all workspaces are affected by changes, only users who are able to edit the live workspace should be able to change permissions.

#3 Updated by Michael Stucki almost 6 years ago

  • Category changed from Miscellaneous to Workspaces

#4 Updated by Michael Stucki almost 6 years ago

  • Project changed from Workspaces & Versioning to TYPO3 Core
  • Category changed from Workspaces to Workspaces
  • Target version deleted (0)

#5 Updated by Mathias Schreiber over 4 years ago

  • Target version set to 7.5

#6 Updated by Benni Mack almost 4 years ago

  • Target version changed from 7.5 to 7 LTS

#7 Updated by Mathias Schreiber almost 4 years ago

  • Description updated (diff)
  • Target version deleted (7 LTS)
  • PHP Version deleted (4)
  • Is Regression set to No

#8 Updated by Benni Mack 6 months ago

  • Related to Bug #33436: Changes to page usergroup access rights are not respected when previewing a workspace added

Also available in: Atom PDF