[Zope-CMF] Stupid question prolly a faq (but I can't find it in the docs)

Troy Farrell troy@entheossoft.com
Thu, 27 Feb 2003 01:09:16 -0600


Hi Harry.
You ask two questions, for which I offer two answers:

1) The proper way to make some content visible to members only is to 
setup a workflow for that content type.  In the published state (or 
whatever you choose to call it), select permission settings that only 
make it visible to members.  For the proper permission settings, you 
will need to look at the "Actions" tab of each content type inside the 
portal_types tool.

2) Other groupings in this case would be Roles.  I wouldn't use local 
roles for this.  Rather (IMHO) in the acl_users folder at the portal 
root, setup the roles you desire (family, etc.) and assign these roles 
to the appropriate users.  Then, you'll need to setup the permissions on 
the workflows accordingly.

FWIW, when I mention setting up workflows, most people use the 
DCWorkflow product:
http://cmf.zope.org/Members/hathawsh/DCWorkflow/

If you need instructions on setting up new content types (that might be 
visible to members only), see my email (in the archives 
http://mail.zope.org/pipermail/zope-cmf/) today with a subject 
'Overriding standard_html_header'.

Troy

harry lee wrote:
> How does one make some content visible to members only? On a similar
> note, is it possible to create other groupings?, say a subset of members
> called family? Or do I have to individually add the members of the
> aforementioned subset to the appropriate local roles?