As a workflow designer I want to be able to lock a document to a user based upon metadata set against the document.
E.g. If the document is for work package 1 then lock it to the Architect.
This is effectively a corollary to the distribution matrix but for document locking.
Add a new lock matrix section to the lock document service task.
Indicate how many rows have been configured.
Either a single role OR a matrix may be configured. Not both:
If "Lock to" is blank, there must be a row in the lock matrix.
If the lock matrix is empty, there must be a "Lock to" value.
The lock matrix shall be similar to the distribution matrix, the differences are:
A document may only be locked to a single role. (The first matching role will be applied. This is different from the distribution matrix.)
The only fields for each set of criteria are:
"Lock to"