Problem/Motivation
We have defined a workflow with these states:
- Draft
- Needs Review
- Published
We have two roles:
- author (Who creates content in draft and sets it to "needs review")
- admin (Who can transition from "needs review" to "published")
We have applied the patch from comment #7 of issue #3020387: [backport] Moderation state is the same for all node's translations in edit page.
Steps to reproduce:
- An author has created a node in English, and sets it to "needs review".
- Now the author wants to add a german translation for this node. He goes to the Translate tab and clicks on the "Add" Button.
- The form where he can edit the node and add the german texts is displayed.
- Wen he clicks "Save" he gets the error message "Invalid state transition from Needs review to Needs review".
Logically that is correct, because the author role doesn't have the permission to edit nodes which are in the state "needs review".
But shouldn't new translations be treated as new nodes and therefore be created as "draft"?
Proposed resolution
Find a way to preserve the existing behavior for BC, but either document a way to override or configure this for new translations.