Defect #37229
Ignore workflow transitions that already defined and now is not appliable
Status: | Confirmed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Issues workflow | |||
Target version: | - | |||
Resolution: | Affected version: |
Description
Suppose some workflow transitions defined for one role. Then if permissions of add_issues
and edit_issues
removed for that role, Admin can see their transitions related statuses as allowed new statuses, when editing an issue.
There is no way to remove that transitions (except adding permission of add/edit to role temporarily), because in workflow transition edit page, only roles that can add and edit issues are listed.
History
#1
Updated by Go MAEDA about 1 month ago
- Tracker changed from Patch to Defect
- Status changed from New to Confirmed
salman mp wrote:
There is no way to remove that transitions (except adding permission of add/edit to role temporarily), because in workflow transition edit page, only roles that can add and edit issues are listed.
Confirmed the issue.
Here are the steps I tried:
1. Load the bundled test fixture by running `bin/rails db:fixtures:load`
2. Remove "Add issues" and "Edit issues" permission from "Manager" role
3. Go to /workflows/edit page. "Manager" does not appear in "Role" drop-down