Project

General

Profile

Actions

Defect #5207

closed

Admin issue status change

Added by Brandon Bonds almost 14 years ago. Updated almost 14 years ago.

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

Is duplicate of Redmine - Feature #2323: Workflow permissions for administratorsClosedJean-Philippe Lang2008-12-12

Actions
Actions #1

Updated by Jean-Philippe Lang almost 14 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Same as #2323.

Actions

Also available in: Atom PDF