[TYPO3-core] RFC: Disable versioning in clickMenu in case...

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Tue Jun 5 13:05:30 CEST 2007


Thorsten Kahler schrieb:
> Hi Masi,
> 
> Martin Kutschker wrote on 05.06.2007 11:35:
>> Dmitry Dulepov schrieb:
>>> Martin Kutschker wrote:
>>>>> Solution: Use t3lib_userAuthGroup::check() to disable the clickMenu 
>>>>> items when the versioning module isn't enabled.
>>>> Patch does not match you descriptio of the solution.
>>> Why? It does. He uses $BE_USER_>check().
>> He wrote "use t3lib_userAuthGroup::check()". Was I supposed to look up what 
>> $BE_USER_>check() does?
> 
> I supposed that core developers know the inheritance structure and the usage
> of the classes derived from t3lib_userAuth by heart ;-)

Please consider my old age ;-)

> IMHO it's not necessary to copy the code from the patch file to the mail. So
> I tried to describe the code, not copy it.

Good, good. I was just confused. A vague "use standard typo3 means to check 
for module permission" would have been fine for me.

Masi


More information about the TYPO3-team-core mailing list