Defect #37229
closedIgnore workflow transitions that already defined and now is not appliable
0%
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.
Files
Related issues
Updated by Go MAEDA over 2 years 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
Updated by Mischa The Evil about 2 years ago
- Related to Defect #37635: Respect Role#consider_workflow? when checking for allowed status transitions added
Updated by Go MAEDA about 2 years ago
- Status changed from Confirmed to Closed
- Resolution set to Fixed
Fixed by r21817.