Alain SARHADIAN schrieb:
> Hello,
> 
> By default the person who starts an instance has all
> access rights (Read and Write) on each workflow steps
> 
> Is it possible to limit owner's rights (just Read or
> no Access) on one or more steps ?

The owner role always has admin rights on that workflow instance, that
means it
can do all tasks even if they are assigned to another role.
You can revoke the owner role from the person who started the workflow
and give him another role with
a short scriptaction, included in the first workflow node, example:

...
<role name="owner" restricted="true">
        <roledatabit>dataset.owner</roledatabit>
</role>
<role name="wfstarter" restricted="true">
        <description>Starter of the workflow</description>
        <roledatabit>dataset.wfstarter</roledatabit>
</role>
...             
                        
<scriptaction name="change_starter_role">
        <description>change_starter_role</description>
        <script>
        $wf.getDatabit("dataset.wfstarter").setValue($uname)
        $wf.getDatabit("dataset.owner").setValue("")
        </script>
</scriptaction>
...

Greetings

-- 
Thomas Schmidt (tschmidt [at] suse.de)
SUSE Linux Products GmbH :: Research & Development :: Internal Tools
"Don't Panic", Douglas Adams (1952 - 11.05.2001)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
swamp-devel mailing list
swamp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swamp-devel
http://swamp.sf.net 

Reply via email to