Project

General

Profile

Actions

Bug #84119

open

Epic #90674: Backend UI not reflecting permissions

Limiting a BE-User to default language results in inconsistent saves.

Added by Marco Pfeiffer about 6 years ago. Updated over 1 year ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2018-03-02
Due date:
% Done:

0%

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

Description

scenario

I have a backend user who is only allowed to edit the default language.
This user now tries to edit a text media content element.

expected behavior

The user is able to save the content element.

What actually happens

The user gets this error:
recordEditAccessInternals() check failed. [ERROR: Language was not allowed.]

I assume this is because of the new copying behaviors. If I check the \TYPO3\CMS\Core\Authentication\BackendUserAuthentication::recordEditAccessInternals method, I see that all languages are checked for which a translation of the content element exists.

Workaround

I extended the BackendUserAuthentication class and removed that specific call to checkLanguageAccess. The other languages are still not visible but they could be edited now.


Files

2022-10-20_10-32.png (28.7 KB) 2022-10-20_10-32.png Language != 0 restriction Kevin Ditscheid, 2022-10-20 08:32

Related issues 2 (2 open0 closed)

Related to TYPO3 Core - Bug #91558: Auto slug update with multiple languages and editor language restrictions shows errorNew2020-06-03

Actions
Related to TYPO3 Core - Bug #91900: Editor with language restriction to non-default language can't edit records of tables with inline fields configured with l10n_mode => excludeNew2020-07-30

Actions
Actions

Also available in: Atom PDF