[Typo3-dev] Check whether FE-pagehas a fe-group access protection

Rolf Bartusel r.bartusel at trisinus.de
Tue Dec 20 15:16:01 CET 2005


Hi,

in a small php-application I have to check whether the actual fe-page is 
protected by a fe-group access entry. I tried 
$GLOBALS["TSFE"]->page["fe_group"], but this seems only to work, if the 
actual page has its own fe_group entry. But if this page is only a 
subpage of a access protected page with "include subpages", 
$GLOBALS["TSFE"]->page["fe_group"] is "0". Is there a better way to find 
out, whether a page is access protected?

Rolf




More information about the TYPO3-dev mailing list