Project

General

Profile

Actions

Patch #24281

closed

Workflow editing shows statuses of irrelevant roles

Added by Jens Krämer about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Issues workflow
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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.


Files

Actions #1

Updated by Toshi MARUYAMA almost 8 years ago

  • Target version set to 3.4.0
Actions #2

Updated by Jean-Philippe Lang almost 8 years ago

  • Subject changed from workflow editing shows statuses of irrelevant roles to Workflow editing shows statuses of irrelevant roles
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang

Patch committed, thanks.

Actions

Also available in: Atom PDF