User:Nicole/Action Matrix

From MPDLMediaWiki
Jump to navigation Jump to search

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.