[Zope] Restricting viewing of documents to members in CMF?

Dieter Maurer dieter@handshake.de
Tue, 12 Nov 2002 20:45:26 +0100


Hamish Lawson writes:
 > I'm trying to understand how permissions work for CMF. I want to let only 
 > members (or reviewers or maangers) view documents. Restricting the 'View' 
 > permission to just members (etc.) seems to prevent the login page from 
 > being accessed. Which permission is the one that I should use for 
 > restricting viewing of documents?
"View" is correct.

I would globaly restrict the "View" permission and give it locally
to the objects necessary for the login process.

This may (probably will) require that you customize them (bring them
into the ZODB) in order to attach local security settings.


Dieter