Difference between revisions of "User:Nicole/Action Matrix"

From MPDLMediaWiki
Jump to navigation Jump to search
m (added reference to core services actions)
Line 11: Line 11:
| edit & release item || is depositor || pending || has open context <br> is owner of the item <br> last item version || released || update <br> release <br>
| edit & release item || is depositor || pending || has open context <br> is owner of the item <br> last item version || released || update <br> release <br>
|-
|-
| release item || is depositor || pending || has open context <br> is owner of the item <br> last item version || released || release <br>
| release item || is depositor || pending || has open context <br> is owner of the item <br> last item version || released || release <br> assignObjectPID <br> assignVersionPID <br> assignContentPID
|-
|-
| delete item || is depositor || pending || has open context <br> is owner of the item <br> last item version <br> no released version exists|| delete <br>
| delete item || is depositor || pending || has open context <br> is owner of the item <br> last item version <br> no released version exists|| delete <br>
Line 19: Line 19:
| modify & save item || is moderator || released || has open context <br> last item version || pending || update <br>
| modify & save item || is moderator || released || has open context <br> last item version || pending || update <br>
|-
|-
| modify & accept item || is depositor || released || has open context <br> is owner of the item <br> last item version || released || update <br> release <br>
| modify & accept item || is depositor || released || has open context <br> is owner of the item <br> last item version || released || update <br> release <br> assignVersionPID <br> assignContentPID (optionally if new file is uploaded)
|-
|-
| modify & accept item || is moderator || released || has open context <br> last item version || released || update <br> release <br>
| modify & accept item || is moderator || released || has open context <br> last item version || released || update <br> release <br> assignVersionPID <br> assignContentPID (optionally, if new file is uploaded)
|-
|-
| accept item || is moderator || released || has open context <br> last item version || released || release <br>
| accept item || is moderator || released || has open context <br> last item version || released || release <br> assignObjectPID <br> assignVersionPID <br> assignContentPID (optionally, if new file is uploaded) ... ???? is this operation in the WF indeed?
|-
|-
| withdraw item || is depositor || released || has open context <br> is owner of the item <br> last item version <br> released version exists || withdrawn || withdraw <br>
| withdraw item || is depositor || released || has open context <br> is owner of the item <br> last item version <br> released version exists || withdrawn || withdraw <br>

Revision as of 11:21, 16 June 2008

Matrix for simple WF[edit]

Action Role condition item status Conditions End item status Item handler actions
create item
create item from template
create new revision
is depositor N/A has open context pending create
edit & save item is depositor pending has open context
is owner of the item
last item version
pending update
edit & release item is depositor pending has open context
is owner of the item
last item version
released update
release
release item is depositor pending has open context
is owner of the item
last item version
released release
assignObjectPID
assignVersionPID
assignContentPID
delete item is depositor pending has open context
is owner of the item
last item version
no released version exists
delete
modify & save item is depositor released has open context
is owner of the item
last item version
pending update
modify & save item is moderator released has open context
last item version
pending update
modify & accept item is depositor released has open context
is owner of the item
last item version
released update
release
assignVersionPID
assignContentPID (optionally if new file is uploaded)
modify & accept item is moderator released has open context
last item version
released update
release
assignVersionPID
assignContentPID (optionally, if new file is uploaded)
accept item is moderator released has open context
last item version
released release
assignObjectPID
assignVersionPID
assignContentPID (optionally, if new file is uploaded) ... ???? is this operation in the WF indeed?
withdraw item is depositor released has open context
is owner of the item
last item version
released version exists
withdrawn withdraw


I think for Item withdrawal now we are only making it temporarily a restriction that it has to be on "released" versions. This is not true in fact, it is sufficient that there is at least 1 released version and then item can be withdrawn.