[TYPO3-english] "Proper group configuration" in EXT:crawler, for logged in users

Dmitry Dulepov dmitry.dulepov at gmail.com
Thu Jun 10 13:41:33 CEST 2010


Hi!

Søren Malling wrote:
> I'm using -2 as that is the value for "show at any login", but no
> search results are returned for a logged in user.

Crawler requires the exact group set. So if you have users with groups
"2,3,4" and "4,3,2", you need to index for both these combinations of
groups. Just "-2" will not work. It is an exact comparison of the group
list in the user record and index record.

We had a case with over 30 user groups and had to write an extension that
modifies crawler behavior to intelligently and automatically discover a
union of users groups for the user and the page. Only this way we could
index pages correctly for all user groups.

-- 
Dmitry Dulepov
TYPO3 expert / TYPO3 core&security teams member
Twitter: http://twitter.com/dmitryd
Read more @ http://dmitry-dulepov.com/


More information about the TYPO3-english mailing list