Project

General

Profile

Actions

Defect #17630

closed

Non-Administrator account can't show Issues list on multi role.

Added by Jun NAITOH almost 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues permissions
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

If Redmine r11963 (2.4.0) later, Non-Administrator account can't show Issues list on multi role.

  1. I maked Issue for test prj.
  2. It is not displayed in non-Administrator account, but when "issues/1" URL is specified, I can show it.

  3. This problem occurs in the user who has two or more rolls with "View Issues" authority.

When the following line was deleted by way of experiment, this problem was solved.

http://www.redmine.org/projects/redmine/repository/revisions/11963/entry/trunk/app/models/issue_query.rb#L265

265: joins(:status, :project).

My environment

  • CentOS 6.3 x86_64
    # ruby script/about
    
    sh: darcs: command not found
    sh: hg: command not found
    sh: bzr: command not found
    Environment:
      Redmine version                2.5.2.stable
      Ruby version                   2.0.0-p481 (2014-05-08) [x86_64-linux]
      Rails version                  3.2.19
      Environment                    production
      Database adapter               SQLite
    SCM:
      Subversion                     1.6.11
      Git                            1.7.1
      Filesystem
    Redmine plugins:
      no plugin installed
    

Files

issues_list_shown_by_admin.png (15.5 KB) issues_list_shown_by_admin.png Jun NAITOH, 2014-08-08 06:04
issues_list_not_shown_by_no_admin_user.png (14.2 KB) issues_list_not_shown_by_no_admin_user.png Jun NAITOH, 2014-08-08 06:05
Roles_and_permissions_Issue_tracking.png (6.91 KB) Roles_and_permissions_Issue_tracking.png Jun NAITOH, 2014-08-08 06:06
Users_Roles.png (6.37 KB) Users_Roles.png Jun NAITOH, 2014-08-08 06:06
issue1.png (17 KB) issue1.png Jun NAITOH, 2014-08-08 06:34
Actions

Also available in: Atom PDF