Thank you Raphael and Dylan, very helpful!

On 2009-07-14, Dylan Jay <[email protected]> wrote:
>
> On 14/07/2009, at 5:27 PM, Alex Clark wrote:
>
>> Hi all,
>>
>> I've got a product that aims to use workflow to manage state
>> for 'todo item':
>>    - http://svn.plone.org/svn/collective/Products.todo/trunk/
>>
>> I.e. 'done' or 'not done'
>>
>> Works well, but I just noticed that my todo items are all visible
>> to anonymous, how do I fix this?
>>
>> I'm guessing maybe I need to remove a permission on that wf state
>
>
> You can either have it controlled by workflow in which case in your  
> definition.xml of your todo_workflow, edit the state definitions to  
> override permissions.
>
> for instance.
>
>  <state state_id="done" title="Done">
>    <description>Done</description>
>    <exit-transition transition_id="redo"/>
>
>    <permission-map name="View" acquired="False">
>     <permission-role>Owner</permission-role>
>    </permission-map>
>
>  </state>
>
>
> or you can just set your lower level view permissions to be more  
> restrictive. In which case you want to make sure your workflow doesn't  
> override the view permissions.
>
>
>> Thanks,
>>
>> -- 
>> Alex Clark · http://aclark.net
>> Buy Practical Plone 3: http://tinyurl.com/practical-plone
>>
>>
>> _______________________________________________
>> Product-Developers mailing list
>> [email protected]
>> http://lists.plone.org/mailman/listinfo/product-developers


-- 
Alex Clark · http://aclark.net
Buy Practical Plone 3: http://tinyurl.com/practical-plone


_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to