[Zope-CMF] Full catalog access for anonymous users
Dieter Maurer
dieter@handshake.de
Tue, 5 Nov 2002 20:50:06 +0100
Antti Kaihola writes:
> I want to allow anonymous users to list restricted portal content. Such
> content needs the Member role to be viewed.
Not easy!
You ensure that "CMFCore.CatalogTool.CatalogTool.searchResults"
adds an additional "Member" role to "allowedRolesAndUsers.
One possibility would be to derive your own "CatalogTool" class
and override "_listAllowedTolesAndUsers".
Look at the source. Come back, when you have more questions.
Dieter