Allow users to change the publishing status of the published dataset
Currently, users can't update published datasets to a draft dataset.
We should make it possible so that users can temporally mark a published dataset as a draft dataset and invisible to the target audience, update the dataset and change it back (as a published dataset).
Technical Notes:
Add hasEverPublished to the publishing aspect to indicate whether a dataset has ever been published before. If so, the "editing workflow" UI will be used for the dataset even if it's a draft dataset.
This field will be set to true once a draft dataset has been published for the first time and stay as true after that.
the true value of this field indicates that the dataset metadata is "complete" (at least has all compulsory fields filled) and it's eligible for editing using "editing workflow" UI.
Add a radio box field "Publishing Status" as part of the "editing workflow" UI, which allows users to change between options "draft" and "published"
Add a menu option to published datasets that allows users to change the dataset to a draft dataset
Allow users to change the publishing status of the published dataset
Currently, users can't update published datasets to a draft dataset.
We should make it possible so that users can temporally mark a published dataset as a draft dataset and invisible to the target audience, update the dataset and change it back (as a published dataset).
Technical Notes:
hasEverPublished
to the publishing aspect to indicate whether a dataset has ever been published before. If so, the "editing workflow" UI will be used for the dataset even if it's a draft dataset.true
once a draft dataset has been published for the first time and stay astrue
after that.true
value of this field indicates that the dataset metadata is "complete" (at least has all compulsory fields filled) and it's eligible for editing using "editing workflow" UI.