[TYPO3-dev] extending t3lib_pageSelect getMultipleGroupsWhereClause

Federico Bernardin federico at bernardin.it
Thu Feb 11 08:56:10 CET 2010


Thanks Xavier,

I'll send you the patch and the use case.

Federico

Il giorno 10/feb/2010, alle ore 23.40, Xavier Perseguers ha scritto:

> 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
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev



Bernardin Ing. Federico
Consulenza Informatica
via San Luigi 3
P.IVA: 03692850286
35030 Selvazzano Dentro (PD)
Fax 0497964921

federico at bernardin.it

 Questa e-mail ed i suoi eventuali allegati contengono informazioni riservate o confidenziali. Se avete ricevuto questa comunicazione per errore, siete pregati di non utilizzarne il contenuto e di non portarlo a conoscenza di alcuno. Grazie per la collaborazione.
This message is intended only for the use of the individual or entity to which it is addressed, and may contain confidential information. If you received this in error, please contact the sender and delete the material from all computers










More information about the TYPO3-dev mailing list