[Zope-CMF] how to give certain users the ability to publish their own content?

Robert Rottermann robert@redcor.ch
Sat, 24 Aug 2002 09:49:43 +0200


you can do this with workflow.
Each status change (transition) can have a guard that controls what role is
needed to execute this transition.
If a user dos not have the appropriate role he is not able to perform the
transition.
Each document type can be controlled by a different workflow.
So copy the default workflow and change the guard for the publishing
transition by adding a role "selfpublisher".
Now set the new workflow for the document types you want to be self
published and give the role selfpublisher to the user that should be allowed
to use it.
Robert
----- Original Message -----
From: "george donnelly" <george@zettai.net>
To: "zope-cmf" <zope-cmf@zope.org>
Sent: Saturday, August 24, 2002 1:05 AM
Subject: [Zope-CMF] how to give certain users the ability to publish their
own content?


> hi all,
>
> How can I do this in a CMF or Plone site?:
>
> Give certain users the ability to publish their own content, of only type
X.
> For example that users with the role "PublishXItem" be able to add and
> publish (only) a CMF content type of "XItem". They woulddn't be Reviewers,
> they would just be able to review one particular content type.
>
> Given that adding any content created ttw in portal_types is all covered
by
> the same permission (as far as i can see...?)
>
> I thought about putting all these XItems in Folder XItemFolder and giving
> the certain users the localrole of Reviewer, but then user X could do
stuff
> to the objects of user Y.
>
> The other option i've thought about is creating a simple CMF product for
> this just to get the ability to give the users with PublishXItem role this
> perm and deny it to others, but i thought there might be a simpler way.
>
> any ideas?
>
> regards,
> george donnelly
> http://zettai.net/
> zettai: zope hosting and dynamic websites
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests
>