[TYPO3-dev] Allowed pids for BE user

Michael Knoll mimi at kaktusteam.de
Tue Jan 24 23:10:10 CET 2012


Hi Kay,

thx a lot for your help. Although I still miss a method that gives me 
all the pids, a logged in user is allowed to see, I could solve my 
problem with the solution you mentioned!

Regards

mimi



> Hello Michael,
>
> dependent on what you want to do, this function may help you:
>
> 	t3lib_userAuthGroup::isInWebMount
>
> 	t3lib_userAuthGroup::returnWebmounts
>
> There functions are callable in $GLOBALS['BE_USER'] ;)
>
> Also there are functions to retrieve the pagetree from a given pid ;)
>
> Regards
> Kay
>
> Am 21.01.2012 22:17, schrieb Michael Knoll:
>> Hi there,
>>
>> is there an API method to get all pids to which a logged in backend user
>> has access to? I tried to find one, but had no luck.
>>
>> If not - what is the way to do this?
>>
>> I'd really appreciate your help! Thanks a lot
>>
>> Regards
>>
>> Mimi
>
>




More information about the TYPO3-dev mailing list