cancel
Showing results for 
Search instead for 
Did you mean: 

Task model Permissions

srobinson
Champ in-the-making
Champ in-the-making
I have a client requirement that wants the package of the workflow to be read only to all reviewers as its moving through the review process.  The issue that I am having is that when I set the permissions on the package item to Consumer for the reviewers, they are not able to add comments or edit any fields on the task model.  When I increase the permissions to Editor, the task model fields are editable.  Is there a way to achieve such separation of permissions between the task model and package item permissions?  I want to be able to edit the task model form fields without setting edit permissions on the package item.

Any help on this is greatly appreciated.  This is a critical issue for my client.

Thanks,

- Shannon
2 REPLIES 2

ivo_c_costa
Champ in-the-making
Champ in-the-making
Hi Shannon,

There used to be a Permission definition on the WorkflowModel itself for the BPM engine, what you needed to do was to override the bpm property and change it to the one that gave you what you need for the files inside the workflow. This would affect only the files and not the fields.


      <type name="wf:reviewTask">
         <parent>bpm:workflowTask</parent>
         <overrides>
            <property name="bpm:packageItemActionGroup">
               <default>edit_package_item_actions</default>
            </property>
         </overrides>
      </type>


Taken from workflowModel.xml

Regards,
Ivo Costa

mstein
Champ in-the-making
Champ in-the-making
From what I know, the users permission on the document is all you can control. If they have edit on the document they will get the 'edit' version of the workflow form. What you can do however, is force the fields on the form for that task to be read only. This means that anyone who sees the form will not be able to edit those fields, no matter what their permission on the document. Hopefully this works for your scenario.

If you need some users to edit the fields and some users to not edit the fields for the same task, you will need to create two tasks and there by two separate form configs.

Hope that helps.