I have a directory structure like this in our workarea:
swa-resources
swa-resources/config
swa-resources/images
I want to allow Group A to run a particular workflow from: swa-resources/images
I want to restrict Group A from running the same workflow from swa-resources (files in the root of the directory) and swa-resources/config
I tried this but it restricted Group A from running the workflow in any of the directories:
<model debug="true" active="true" filename="wcm_department_approval" name="Online Marketing Department Approval Workflow">
<allowed>
<or>
<and>
<not>
<or>
<vpath-regex regex="swa-resources/config"/>
<vpath-regex regex="swa-resources"/>
</or>
</not>
<or>
<vpath-regex regex="swa-resources/images"/>
</or>
<vpath-regex regex="/default/main/Southwest/SWA"/>
<not>
<vpath-regex regex="/default/main/Southwest/SWA/NextRelease"/>
</not>
<group name="Online_Marketing_Authors"/>
</and>
</or>
</allowed>
</model>
I'm not sure I can restrict the users from running the workflow in the root of a directory and allow in a subdirectory off of the root. Does anyone know a way of configuring what I need?