[TYPO3-core] editPanel/editIcons fixes

Ingmar Schlecht ingmar at typo3.org
Sun Apr 2 17:54:35 CEST 2006


Hi Martin,

Martin Kutschker wrote:
> As reported one of my one-liners wasn't quite right.
> 
> I have added this line to tslib_cObj->editPanel() and tslib_cObj->editIcon():
> 
> if (!$BE_USER->checkLanguageAccess($GLOBALS['TSFE']->sys_language_uid)) { return $content; }
> 
> The idea is to blind the edit panel/icon when you have no access right to the language.
> 
> But of course the check should be against the language of the record itself. So here's the correct version.
> 
> We should either ship RC3 with this patch or remove the two lines mentioned above.

Thanks, I added the patch to
http://typo3.org/development/40rc2-to-rc3-patches/

cheers,
Ingmar



More information about the TYPO3-team-core mailing list