I have a basic approval workflow set up with three states (Draft, For Approval and Published), and two basic user types that can work on an item in this workflow (Author and Editor).
- An author can write to an item while it is in the "Draft" state and can send it for approval, but can't publish it.
- An editor can write to an item in any state and publish it as they see fit.
I want to use versions to allow authors to edit an already published page without affecting it. However, once an item is in the "Published" state, an author can't edit it any more due to them not having the "Workflow State Write" access right. This seemingly disables the "Add Version" ribbon item from the "Versions" ribbon strip.
Is there are way to give the author access rights to add a new version to an item which they do not have write permissions on (as in the above scenario) out of the box? I have various solutions how to set this up with code, such as creating a new ribbon button with a custom command (e.g. with a command defined as
item:AddVersionSecurityDisabled that would disable the security before adding a new version for the item), but wondered if I'm missing a more standard way of accomplishing this?