Defect #37229 » issues.patch
app/models/issue.rb (revision 41000:f7b4efce8b3f1efc6927a0355eef9b3ef644bc0b) → app/models/issue.rb (revision 41000+:f7b4efce8b3f+) | ||
---|---|---|
1059 | 1059 |
statuses = [] |
1060 | 1060 |
statuses += IssueStatus.new_statuses_allowed( |
1061 | 1061 |
initial_status, |
1062 |
user.admin ? Role.all.to_a : user.roles_for_project(project), |
|
1062 |
user.admin ? Role.all.select(&:consider_workflow?).to_a : user.roles_for_project(project),
|
|
1063 | 1063 |
tracker, |
1064 | 1064 |
author == user, |
1065 | 1065 |
assignee_transitions_allowed |