User:Nicole/Action Matrix

From MPDLMediaWiki
< User:Nicole
Revision as of 13:19, 16 June 2008 by Nicole (talk | contribs) (removed accept item)
Jump to navigation Jump to search

Matrix for simple WF[edit]

  • Note: This matrix represents how the WF should be and not how currently the WF is implemented as PubMan has to deal with many workarounds.--Natasa 11:25, 16 June 2008 (UTC)
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
assignObjectPID
assignVersionPID
assignContentPID
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)
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.