[TYPO3-dev] extending t3lib_pageSelect getMultipleGroupsWhereClause

Xavier Perseguers typo3 at perseguers.ch
Wed Feb 10 23:40:56 CET 2010


Hi Federico,

> I create an extension that extends the access control for pages and contents adding another field (so my pages have fe_groups access and the new field that using a list control).
> My problem is in the link creation control (tslib_content pageLink) to protected page with new field. If I create a link in a protected page with fe_groups forward to another page protected with new field, my authentication doesn't work.
> The function that controls the access to page is getMultipleGroupsWhereClause inside t3lib_pageSelect class, and this function isn't extensible except with xclassing.
>
> I think should be insert an hook inside that function.

You may provide a patch with the hook and a use case / implementation example. It will then get reviewed and hopefully integrated...

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en




More information about the TYPO3-dev mailing list