Closed elioschmutz closed 3 weeks ago
LGTM 👍, but
No transition guards yet for moving the document into the
signing
state? No tests yet? I think tests like these could be useful already:In the
signing
state, it should be impossible to
- Delete the document
- Copy or move the document
- Checkout the document
- Revert the document to a previous version
- Probably some other things I can't think of right now ;)
As discussed. I pushed the PR very quickly to get an early feedback about the naming of the states, transitions, permissions and the workflow in general. I pushed all the missing parts in the meantime.
So it should be ready for a final review now.
@lukasgraf could you take a final look?
This PR extends the document workflow with all the necessary states and transitions to be able to implement the sign process.
It does not yet implement the transition extenders and the transitions will only be available if the sign-feature is available.
The transition extenders will be implemented in an upcoming PR. This PR is meant for a pre-review for the naming, permissions and available states and transitions.
ℹ️ the document-workflow is simplified in this diagram. Trash and shadow states and transitions are not visible.
For TI-659