[TYPO3-core] FYI fixed bug #9411: Editors cannot create new translations of pages

Martin Kutschker masi-no at spam-typo3.org
Tue Sep 23 11:00:03 CEST 2008


Hi!

Problem: Non-Admins (without any language restriction) cannot create a
new translation in Web>pages because the drop-down to do that never
shows up.

Solution: To check permissions use $GLOBALS['BE_USER']->groupData
instead of  $GLOBALS['BE_USER']->dataLists

Note: Both properties are marked via inline comment as "internal", but
groupData is the correct one to use as it will hold the collected
permissions.

Commited as no-brainer to TYPO3_4-2 and trunk. Older versionions are not
affected.

Masi

PS: Sorry for the diffs (two files, not root).
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tx_cms_layout.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080923/b343af25/attachment-0002.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tx_cms_webinfo_lang.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080923/b343af25/attachment-0003.txt 


More information about the TYPO3-team-core mailing list