Finish submit_and_review publication workflow
Problem: The backend already supports the "submit_and_review" workflow, but the UI doesn't.
Specifications: If a community is in submit_and_review workflow: If a member creates a draft
-
"publish" checkbox --> the text should read "submit for review"
-
the behaviour of the button should change: it should 'redirect' to the /draft page not to the 'public' page this now gives a 404
-
if the community member or administrator sees a record in submitted state he should be presented with a state-label and a "back to draft" button
-
if the community admin sees a record in submitted state he should also be presented with a "Publish" button (future option: and a Reject with reason/comment button)
-
community admin needs to be able to search all submitted-state deposits in his community
-
member/owner needs to be able to see his own submitted-state deposits (with publication_date or last-modified-date)
Related to request:
- https://github.com/EUDAT-B2SHARE/b2share/issues/1440
Additional features (can be moved to a separate issue):
Notification and reject-comment
Those are backlog items:
- If the state changes of an object (submitted to draft or submitted to public) the owner should get a notification via e-mail
- If the Reviewer tries to reject a record he has to/can enter a review-comment explaining the reason of rejection.