atom feed3 messages in net.java.dev.osworkflow.usersRe: [Opensymphony-workflow] Restricti...
FromSent OnAttachments
Mattias BogebladOct 22, 2004 4:31 am 
kens...@codementor.netOct 22, 2004 6:25 am 
Mattias BogebladOct 22, 2004 7:02 am 
Subject:Re: [Opensymphony-workflow] Restricting access
From:kens...@codementor.net (kens@codementor.net)
Date:Oct 22, 2004 6:25:11 am
List:net.java.dev.osworkflow.users

Pertaining to your question on restricting:

Each action configured in a workflow xml has a restrict-to element, which have condition elements. look at the example.xml file which comes with the example.

There are several predefined Conditions which do what your asking; com.opensymphony.workflow.util.AllowOwnerOnlyCondition, or com.opensymphony.workflow.util.OSUserGroupCondition, etc. These use the OSUser project. Looking at the code you should be able to see how to write your own.

ken