[TYPO3-dev] how to check for inherited access restrictions in FE

Martin Kutschker masi-no at spam-typo3.org
Fri Feb 6 10:01:58 CET 2009


Patrick Rodacker schrieb:
> Hi list,
> 
> I need to check inherited login access in a frontend plugin and wonder,
> whats the best way to do this. There is the flag "Include Subpages"
> (pages:extendToSubpages) in the tab "Access" which will use the
> restriction on every subpage in the page tree.
> 
> The method enableFields() does not support the check for inherited
> restrictions, so whats the best approach to do this? How is this done on
> normal page level?

Via the page rootline. From the current page traverser it to the site root.

Masi




More information about the TYPO3-dev mailing list