[TYPO3-dev] Checking for access restrictions on page

Christian Lerrahn typo3 at penpal4u.net
Wed Aug 13 20:54:10 CEST 2008


On Mon, 11 Aug 2008 13:48:13 +0200
Christian Lerrahn <typo3 at penpal4u.net> wrote:

> 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...

Any more comments from anyone on this? I'm really confused. I'd like to
believe Dmitry but my site seems to behave different from what he
claims. Is that my exotic configuration? Or was Dmitry just wrong about
FE access restrictions not being inherited? If so, how do I properly
check for inherited restrictions without having to climb up the tree
for every page myself?

Cheers,
Christian




More information about the TYPO3-dev mailing list