[TYPO3] Disable templavoila context menu in filelist [SOLVED]

Dmitry Dulepov [typo3] dmitry at typo3.org
Wed Apr 16 12:11:29 CEST 2008


Elijah wrote:
> After watching too many tumbleweeds go by I finally figured out a
> workaround that only lets admin users to view the templavoila context
> menu. 
> 
> File: class.tx_templavoila_cm1.php
> Added: if ($BE_USER->isAdmin()) { } between the code that adds a link to
> the mapping tool. I hope that won't cause any problems. 

Proper solution would be to check if user is allowed to see corresponding module and add menu only in that case. But it will not be fixed unless it exists in bug tracker (bugs.typo3.org) ;)

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"


More information about the TYPO3-english mailing list