Project

General

Profile

Actions

Defect #39493

open

Role with only :edit_own_issues no longer considered for workflow

Added by Jan Graichen about 1 year ago. Updated 10 months ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
Issues workflow
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

The change in #37635 rendered roles that only have the :edit_own_issues permissions no longer usable because these roles are not consider_workflow?.

A test in a Redmine plugin of mine tested some behavior that is using Issue#new_statuses_allowed_to with a minimal Role, only with :edit_own_issues, which failed with Redmine 5.1. This truly might be an edge-case, but I could imagine that there are real-world usages for Roles that can only edit their own issues but not add new one (e.g. customers with support expired support contracts).

On the other hand, one would not have been able to add workflows for such a Role in the UI in the first place? Unless the Role was created with :add_issues first, and only later dropped, which is kind of what #37635 wanted to fix.

Should :edit_own_issues be added to consider_workflow? or is that a case that shall not be supported at all?


Related issues

Related to Redmine - Defect #37635: Respect Role#consider_workflow? when checking for allowed status transitionsClosedGo MAEDA

Actions
Related to Redmine - Feature #1248: New Permission: Edit own issuesClosedGo MAEDA2008-05-16

Actions
Related to Redmine - Defect #15988: Unexpected behaviour on issue fields for users that have multiple roles ClosedJean-Philippe Lang

Actions
Actions

Also available in: Atom PDF