Project

General

Profile

Actions

Patch #24281

closed

Workflow editing shows statuses of irrelevant roles

Patch #24281: Workflow editing shows statuses of irrelevant roles

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

Status:
Closed
Priority:
Normal
Category:
Issues workflow
Target version:

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

Updated by Toshi MARUYAMA about 10 years ago Actions #1

  • Target version set to 3.4.0

Updated by Jean-Philippe Lang almost 10 years ago Actions #2

  • 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: PDF Atom