Actions
Defect #5207
closedAdmin issue status change
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues permissions
Target version:
-
Start date:
2010-03-29
Due date:
% Done:
0%
Estimated time:
Resolution:
Duplicate
Affected version:
Description
As an administrator, I cannot change the status of an issue in a project that I am not a member of.
I can change everything about the issue other than the status (even though I haven't tried, it looks like I can even delete an issue). Since I am an admin, I can always give myself temporary permission to change the status, but I would rather not have to do that.
The code that keeps this from happening appears to be in models/workflow.rb:
# Find potential statuses the user could be allowed to switch issues to
def self.available_statuses(project, user=User.current)
Workflow.find(:all,
:include => :new_status,
:conditions => {:role_id => user.roles_for_project(project).collect(&:id)}).
collect(&:new_status).
compact.
uniq.
sort
end
It affects both regular status change and bulk status change. In the case of bulk, I do not get any options, only "(No change)".
Thanks!
- Brandon
Related issues
Actions