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.
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)
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.
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
- Status changed from Accepted to Closed
- Target version deleted (
-1)
Also available in: Atom
PDF