[TYPO3-dev] Checking for access restrictions on page

Dmitry Dulepov [typo3] dmitry at typo3.org
Sun Aug 10 22:30:57 CEST 2008


Christian Lerrahn wrote:
> Hi,
> what is the officially correct way of checking the FE access
> restrictions of a certain page? I need to be able to pick a page id (or
> record for that matter) and then find out if the currently logged in FE
> user is allowed to access it or not. I tried checkPageGroupAccess() but
> it only checks the current record and not if any restrictions are
> inherited. Is there any function that does the check along with
> traversing the page tree to find inherited restrictions?

It depends on where you trying to get these permissions: in FE or in BE.

-- 
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/post-details/typo3_code_formatting_in_eclipse/




More information about the TYPO3-dev mailing list