[TYPO3-core] RFC: #8460: Shortcutmenu needs a proper access check

Stefano Kowalke blueduck at gmx.net
Mon May 19 18:27:18 CEST 2008


Stefano Kowalke wrote:

> Steffen Kamper wrote:
> 
>> 
>> "Stefano Kowalke" <blueduck at gmx.net> schrieb im Newsbeitrag
>> news:mailman.1.1211206628.10170.typo3-team-core at lists.netfielders.de...
>>> Hi,
>>>
>>> This is an SVN patch request.
>>>
>>> Bugtracker references:
>>> http://bugs.typo3.org/view.php?id=8460
>>>
>>> Branches:
>>> 4.2, Trunk
>>>
>>> Problem:
>>> The function checkAccess() in typo3/classes/class.shortcutmenu.php give
>>> always "true" back.
>>>
>>> Solution:
>>> *See patch
>>>
>>> Saludos
>>> Stefano
>>> --
>> 
>> Hi,
>> 
>> same opinion as with search. Search and Shortcuts are helpful tools for
>> each editor that should be there all the time.
>> I also found no restriction in old BE.
>> 
>> vg Steffen
> 
> Yes your are right. I just saw the FIXME Comment.
> In this case the whole function could be removed.
> 
> LG
> Stefano
> 
After a look around in code, i think the best way is remove only the comment
and/or add a new comment to explain why the function give always "true"
back.

Stefano 
-- 
Seit dem 1.1.2008 werden Daten zu jeder E-Mail verdachtsunabhängig gespeichert! 
Weitere Informationen: www.vorratsdatenspeicherung.de
GPG-ID: 0x2B08936D
Key-Fingerprint: 7F31 BCF0 70C0 B3B1 1235 07E9 1777 D7A0 2B08 936D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixme_#2_8460_class.shortcutmenu.php.diff
Type: text/x-diff
Size: 400 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080519/c850973b/attachment-0001.diff 


More information about the TYPO3-team-core mailing list