Bug #87985

Permission issue on root page for non-admins on multilanguage environment

Added by Mikel Wohlschlegel 9 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Must have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2019-03-22
Due date:
% Done:

0%

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

Description

There seems to be a bug, when a non-admin user edits the page properties of the root page if there is more than one language.

Error message when trying to save root page properties (on all languages):

1: Attempt to modify record 'title of page' (pages:36) without permission. Or non-existing page.

Page with ID 36 is the translation of the page with id 1.

All other pages can be edited.

To reproduce:

  • Multiple languages
  • One backend user group, DB mount set to root page (1)
  • One backend user, no admin user, assigned to this group
  • Access to all pages set correctly in access module
  • Open page properties of root page (wether default language or any translation of it) and try to save --> error

This error does only appear on the root page. All other pages are OK.
The permissions in the database seems to be correct.

Permissions in database seem to be correct (same for all pages):

perms_userid = 1 || perms_groupid = 1 || perms_user = 31 || perms_group = 27 || perms_everybody = 0

TYPO3 version: 9.5.5
PHP 7.2

error.png View (20.1 KB) Mikel Wohlschlegel, 2019-03-22 16:40

mountpoint.png View (56.7 KB) Mikel Wohlschlegel, 2019-03-22 16:40

permissions.png View (30.4 KB) Mikel Wohlschlegel, 2019-03-22 16:40


Related issues

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
Related to TYPO3 Core - Bug #88321: Permission Problem with Localizied Mountpoint New 2019-05-09
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 5 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 5 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 9 months ago

Is this one the same issue? #87223

#2 Updated by Mikel Wohlschlegel 9 months ago

Yes, indeed it is. Sorry, I didn't see this. You can mark as duplicate.

#3 Updated by Riccardo De Contardi 9 months ago

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

#4 Updated by Riccardo De Contardi 9 months ago

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

#5 Updated by Riccardo De Contardi 9 months ago

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

#6 Updated by Riccardo De Contardi 9 months ago

  • Status changed from New to Closed

@Mikel Wohlschlegel thank you for your quick answer; no need to be sorry.

I add your issue as related to the other one to keep track of it;

if you think that closing it is the wrong decision please reopen it or ping me and I'll do.

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

#8 Updated by Riccardo De Contardi 8 months ago

  • Category set to DataHandler aka TCEmain

#9 Updated by Riccardo De Contardi 8 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

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

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

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

#13 Updated by Gerrit Code Review 5 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

#14 Updated by Gerrit Code Review 5 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

#15 Updated by Alexander Bohndorf 5 months ago

  • Status changed from Under Review to Resolved

#16 Updated by Christian Eßl 3 months ago

  • Related to Bug #88321: Permission Problem with Localizied Mountpoint added

Also available in: Atom PDF