[TYPO3-english] Restrict registers showed to users in TYPO3 Web->List

Xavier Perseguers xavier at typo3.org
Fri Aug 10 09:51:35 CEST 2012


Hi,

Guillermo R. Oramas J. wrote:
> I have a table in the Web->List and I need that the users only see the
> registers that they own, not the totality of them.
> 
> For the case suppose the registers are client tickets. And the situation is
> that each ticket is linked with an employee, but when the employee see the
> list, all the tickets are displayed and I want that only the tickets linked
> with the user be displayed. Can I use something to modify the query? Is as
> easy as add a where clause, but I don't know where.
> 
> Do you know how to do this? Is there a hook or typoscript to modify the
> query?

Easiest (= no code) would be to use different storage folders.

Otherwise, there is a hook, getDBlistQuery which fits exactly (used it
not later than a few weeks ago) and that is part of interface
t3lib_localRecordListGetTableHook.

Kind regards

-- 
Xavier Perseguers
Release Manager TYPO3 4.6

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org



More information about the TYPO3-english mailing list