[Zope-CMF] custom workflow states

Raphael Ritz ritz at itb.biologie.hu-berlin.de
Fri Aug 29 10:48:19 EDT 2003



Austin Lowry wrote:

> I am attempting to create a custom 'Protected' state for my Plone site 
> that will only allow authenticated users to view content in the said 
> state. I have done what I thought was enough, but the 'Protected' 
> state is not listed as an option when I attempt to change states for 
> an object. Maybe I have missed an important step.
>
> I began by editing the plone_workflow and creating a state called 
> 'Protected'. I then created a 'Protected' transition.
>
> For the state I allowed hide, publish, retract, and show. In 
> permissions I unchecked 'Aquire Permission settings' for all and 
> checked the following:
> Access contents information: Authenticated, Manager, Member, Owner, 
> Reviewer
> Change portal events: Manager, Member, Owner
> Modify portal content: Manager, Member, Owner
> View: Authenticated, Manager, Member, Owner, Reviewer
>
> For the transition, I set the following: 

Did you add this transition to the visible (default initial) state?
This has to be done in order to make the transition available
for the default initial state (and all other states from which
you want to enable transition into the protected state).

>
> Destination state: |protected|
> Trigger: User action
> Requires permission: |Review portal content| 

That way you only allow reviewers (and managers) to invoke
this transition. If a regular member should also be able to
do this for his/her own content change this to, e.g.,
'Request review' like for the 'submit' transition.

Does this help in any way?

Raphael

>
> Adds to actions box: |Proctected Content
>
> I then clicked 'Update security settings' for the portal_workflow. 
> Have I missed something? Thanks in advance for the assistance.
>
> ~Austin Lowry
> |
>
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF at zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests
>





More information about the Zope-CMF mailing list