Workflow editing shows statuses of irrelevant roles
|Assignee:||Jean-Philippe Lang||% Done:|
When 'Only display statuses that are used by this tracker' is selected (which is the default), the statuses of Workflow transitions that are attached to Roles where Role#consider_workflow? returns false are still shown.
The first patch changes a test case to illustrate the problem by creating a role with workflow transitions but no issue add/edit permissions, second patch adds proper filtering for the status array.