[TYPO3-dev] Checking for access restrictions on page

Christian Lerrahn typo3 at penpal4u.net
Mon Aug 11 13:48:13 CEST 2008


Hi Dmitry,
> Christian Lerrahn wrote:
> > I need them in the FE. Sorry, I didn't think of a scenario where I
> > need the FE access in the BE but obviously scenarios like this
> > exist... :)
> 
> If you are in the FE plugin, than $this->cObj->enableFields('pages')
> will take care of access restrictions. FE does not have inheritance
> for access permissions.

Are you sure that access restrictions are not inherited? I tried
visiting pages that are subpages of FE restricted pages without logging
in and I always only got a login form. I do use enableFields but that
is only enough if FE access restrictions are really not inherited...

Cheers,
Christian





More information about the TYPO3-dev mailing list