Content
View differences
Updated by Oliver Günther 2 months ago
**As** an OpenProject admininistrator
**I want** an easier interface to copy workflows from one role to another
**so that** I get less confused by the existing interface.
**Acceptance criteria**
* There is a dialog are two separate screens to copy the workflow from the show page, and the index action menu workflows
* Title: 1: "Copy workflow"
to other roles" Copy workflow from one role to another role
* Users can switch Basic form:
* "Copy workflows of 'Type name' between
roles"
* 1: In this copy screen there is no type selection.
* Source selection: Single select field. In case a role was selected in the previous screen this is preselected.
* Target selection: Multi-select field (similar to column selection)
* Primary button: `Copy`, taking you back to the show/edit page of a type workflow
* Secondary button: `Cancel` taking you back to where you where using `redirect_back`
* 2: "Copy to another type": Copy workflow from one type to another type
* 2: Basic form:
* "Copy to other roles" Copy workflow from one role 'Type name' to another role
type"
* Depending on the selection, either target roles, or target types are shown Target
* Save and cancel buttons
* Save button takes you back to copy the workflow to
show page of a type
* A source Cancel button takes you back using `redirect_back`
* In this screen there is no role selection. Always all roles are copied over.
* There is shown when "copy to another role" no source selection
* Three is selected. This only a target selection: Single-select
* Both actions are available as an action menu on the index page, and on the page header on a single type
* The summary action is preselected with remove from all but the current open role, if you are editing the workflow index page
**I want** an easier interface to copy workflows from one role to another
**so that** I get less confused by the existing interface.
**Acceptance criteria**
* There is a dialog
* Title:
* "Copy workflows of 'Type name'
* Source selection: Single select field. In case a role was selected in the previous screen this is preselected.
* Target selection: Multi-select field (similar to column selection)
* Primary button: `Copy`, taking you back to the show/edit page of a type workflow
* Secondary button: `Cancel` taking you back to where you where using `redirect_back`
* 2:
*
* Save and cancel buttons
* Save button takes you back
* In this screen there is no
* There
* Three
* Both actions are available as an action menu on the index page, and on the page header on a single type
* The summary action