[TYPO3-core] RFC #9576: Bug: Limit to language not effective in list module

Benjamin Mack benni at typo3.org
Fri Jan 30 17:37:36 CET 2009


Hey Christian,

looks like it's working for me, however, two things:

a) The total number is not working anymore (it's still the same number 
of records as before), so the check needs to be done before

b) More general: What about limiting the user with "Limit to Languages" 
to the Localization View? Feels more practical for people who are 
working on translations only.

All the best,
Benni.

On 24.01.2009 22:03 Uhr, Christian Kuhn wrote:
> This is an SVN patch request.
>
> Type: Bugfix
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=9576
>
> Branches: trunk only, because of behavior
>
> Problem:
> If a user is limited to some languages, all language record overlays
> will be displayed in the list module, if the checkbox for localization
> view is not enabled. The edit action to one of those overlay records
> will lead to an access denied message.
>
> Solution:
> Display record row only if user has access to this overlay record.
>
> Notes:
> Records set to "All languages" or "Default language" (tt_content) will
> still be shown, and the edit link will still lead to "Access denied" if
> such an record is edited.
> This patch is just to remove the language overlay records from the list,
> which is especially useful when fiddling with a lot of languages and a
> translator should only see the parent (default or all) record, and the
> record of the language he is supposed to edit.
>
> How to reproduce:
> * Create two or more BE language records
> * Localize a page to those languages
> * Localize a page record to those languages
> * Create a BE user with "Limit to language" and choose only one language
> * Switch to this user and call list module (Localization view not
> enabled) -> All language overlay records will be shown
>
> Cheers
> Christian



More information about the TYPO3-team-core mailing list