Project

General

Profile

Actions

Bug #21327

closed

User with restricted languages is not able to translate a record

Added by Steffen Kamper about 15 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2009-10-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In this case the record is created with sys_language_uid = 0, no form is displayed

1) create a page with 2 translations
2) crate user, restrict him to default and 1 other language
3) switch to this user
4) go to listview of this page, localisation view and click on the flag to translate

(issue imported from #M12302)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #21795: tcemain checkFullLanguageAccess is too restrictiveClosedSteffen Kamper2009-12-04

Actions
Actions #1

Updated by Oliver Hader about 15 years ago

The change that showed this flaw was a change in t3lib_TCEmain::getExcludeListArray().
Before that change while/each was used and noch foreach is used. However, for the old while/each solution the array-pointer in $TCA[$table]['columns']) was not resetted. Thus, the exclude list was empty.

On localization/copying records the getExcludeListArray() gets executed twice and the second execution always resulted in an empty exclude list.

Actions #2

Updated by Basti Baumann almost 15 years ago

I have nearly the same problem. I a user with restricted languages wants to translate a record this error appears:
1: Attempt to copy record without having permissions to do so. [ERROR: Language was not allowed.].

and if the user wants to delete a record in his language this error appears:
1: Attempt to delete record without delete-permissions. [ERROR: Related/affected language was not allowed.]

Curiously the user can create new records.

TYPO3 version: 4.3.0

Actions #4

Updated by Markus Kurde almost 15 years ago

Bastis and my problem solved here: http://bugs.typo3.org/view.php?id=12924

Actions #5

Updated by Alexander Opitz over 11 years ago

  • Status changed from Accepted to Closed
  • Target version deleted (-1)

Closed as fixed in #21795

Actions

Also available in: Atom PDF