Bug #86575

Missing page access for root-page translations

Added by Marvin Dettinger 12 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Start date:
2018-10-05
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

We are experiencing an issue with missing page access for the translation of a mounted root-page.

Steps to reproduce:

Assumption:

- Blank TYPO3 Project with English as default language and German as foreign language
- A simple page tree with a root page and subpages
- An editor usergroup with the required access rights for 'pages' and the root-page as DB Mount
- The usergroup has all permissions for these pages in the access module

Excepted Result:

- An editor in this usergroup can edit all pages in the default language
- An editor in this usergroup can edit all pages in the foreign language

Actual Result:

- The editor can edit all pages except the translated version of the root-page
Trying to save will result the following error message: "1: Attempt to modify record 'Home' (pages:5) without permission. Or non-existing page."

Setting the following option would solve the problem but i don't think thats a proper solution.

$GLOBALS['TCA']['pages']['ctrl']['security']['ignoreWebMountRestriction'] = true;

Related issues

Related to TYPO3 Core - Bug #86621: Error editing start page with single-tree translations for non-admin user Closed 2018-10-10
Related to TYPO3 Core - Bug #87165: \TYPO3\CMS\Core\Authentication\BackendUserAuthentication::isInWebMount does not work for translations of web mounts for non admin users Resolved 2018-12-14
Duplicates TYPO3 Core - Bug #87223: Translated root-page record of BE-User cannot be edited/saved (missing webmount) Resolved 2018-12-19

Associated revisions

Revision 60f47bbf (diff)
Added by Alexander Bohndorf 3 months ago

[BUGFIX] Always use default language for fetching web mounts

Fixes calculation of the rootline within web mounts for
translated pages to give editors access again.

Resolves: #87165
Resolves: #87223
Resolves: #87985
Resolves: #86575
Releases: master, 9.5
Change-Id: Ib7b026b1ab3961516567de9eec2d4e26cfaaae20
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/59159
Tested-by: Andreas Fernandez <>
Tested-by: André Schließer <>
Tested-by: Daniel Goerz <>
Tested-by: TYPO3com <>
Tested-by: Anja Leichsenring <>
Reviewed-by: Andreas Fernandez <>
Reviewed-by: André Schließer <>
Reviewed-by: Daniel Goerz <>
Reviewed-by: Anja Leichsenring <>

Revision e0e0d2f3 (diff)
Added by Alexander Bohndorf 3 months ago

[BUGFIX] Always use default language for fetching web mounts

Fixes calculation of the rootline within web mounts for
translated pages to give editors access again.

Change-Id: I2962e3c2a6e1ab9e040824677a53f8c008eaaf3f
Resolves: #87165
Resolves: #87223
Resolves: #87985
Resolves: #86575
Releases: master, 9.5
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61253
Tested-by: TYPO3com <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Andreas Fernandez <>

History

#1 Updated by Riccardo De Contardi 11 months ago

  • Related to Bug #86621: Error editing start page with single-tree translations for non-admin user added

#2 Updated by Daniel Siepmann 8 months ago

  • Duplicates Bug #87223: Translated root-page record of BE-User cannot be edited/saved (missing webmount) added

#3 Updated by Riccardo De Contardi 7 months ago

  • Status changed from New to Closed

I close this issue in favor of #87223 please continue the discussion there; I've added there the description of this issue to keep track of it.

#4 Updated by Gerrit Code Review 6 months ago

  • Status changed from Closed to Under Review

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/c/Packages/TYPO3.CMS/+/60407

#5 Updated by Riccardo De Contardi 5 months ago

  • Category set to DataHandler aka TCEmain

#6 Updated by Riccardo De Contardi 5 months ago

  • Related to Bug #87165: \TYPO3\CMS\Core\Authentication\BackendUserAuthentication::isInWebMount does not work for translations of web mounts for non admin users added

#7 Updated by Gerrit Code Review 5 months ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59159

#8 Updated by Gerrit Code Review 3 months ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59159

#9 Updated by Gerrit Code Review 3 months ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59159

#10 Updated by Gerrit Code Review 3 months ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59159

#11 Updated by Gerrit Code Review 3 months ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61253

#12 Updated by Alexander Bohndorf 3 months ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF