Implementing an approval workflow #5614
MarcBollmann
started this conversation in
General
Replies: 1 comment 6 replies
-
@NGPixel I wonder if you have already added this to the roadmap, seems to me a really useful and needed functionality? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm considering to try helping with the implementation of the approval feature which is planned to release in version 3.0. I want to know if there are already any implementation plans or general plans for doing so.
My first thought was that you could handle a general approval workflow by permissions if a review is not mandatory. For example
approve:pages
. For pages, there could be property for an optional opt-in likerequireApproval: {type: 'boolean'}
. For checking if a page is approved we could add the property:isApproved: {type: 'boolean'}
.requireApproval: {false}
-> which should be default would let the pages behave as they have always been workingrequireApproval: {true}
-> disables/replaces the SAVE Button with a Request Approval button -> if the button gets pressed the reviewing-group (and not the user himself) gets a notification.If the reviewer is clicking the notification which links to the unpublished page there is still some work to do like someone already mentioned:
When a moderator (a role that can create and edit pages) posts a page for later (a given date) this page is not shown to others. If a QA (another role that can edit pages) likes to review the page he/she cannot see it. There is no model for unpublished pages and therefore is no possibility for roles to see unpublished pages. How do we handle the unpublished pages?
These are my initial thoughts about that functionality. What are your thoughts about it? I can imagine in some companies there are even more complex situations with approval workflows with more users involved.
Beta Was this translation helpful? Give feedback.
All reactions