Project

General

Profile

Actions

Bug #93266

open

Backend-User restricted to language fails to edit tt_content records with inline relation

Added by Anonymous over 3 years ago. Updated 12 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-01-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Needs Decision

Description

Summary: Backend-User restricted to language fails to edit tt_content records with inline relation

Prerequisites:

  1. at least one additional language. In my example there is DEFAULT, EN and RU
  2. tt_content element ctype with inline relation

Configuration:

Backend-User "editor_russian" is restricted to language RU in its user-settings.

What happened?

Backend-User "editor_russion" tries to edit (just access - we are not talking about saving yet) a tt_content element with an inline relation (IRRE).

Sorry, you didn't have proper permissions to perform this change.
ERROR: Language was not allowed.

Cause:

BackendUserAuthentication.php calls checkLanguageAccess and fails.

But why?

Ghosts!

This kind of strange...

...it turned out, that "ghosts" are checked too!

Why are ghosts checked for language-access?

Is this really on purpose?


Files

Actions

Also available in: Atom PDF