[Zope-CMF] portal_catalog doesn't know about local roles ?

Gitte Wange gitte@mmmanager.org
Wed, 27 Feb 2002 14:15:41 +0100


Hello,

I have a lot of objects where I have given other members the privilege to 
edit them ... 
The local role I have assigned to them is Journalist.
When querying the catalog for these objects (as the user with the local role) 
it doens't find them.

I digged into the code and found that the catalog only list the allowed 
permissions for users who have the role assigned to them not by local roles.
(the member.getRoles() function doesn't return local roles).

Shouldn't you be able to query the catalog for items you are allowed to view 
by being granted local roles ?

TIA,
Gitte Wange