プロジェクト

全般

プロフィール

Vote #70898

完了

Issue filter by assigned_to_role is not project specific

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Issues_2
対象バージョン:
開始日:
2011/11/08
期日:
進捗率:

0%

予定工数:
category_id:
2
version_id:
36
issue_org_id:
9540
author_id:
44016
assigned_to_id:
1
comments:
7
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

When I Filter by Role, the filter selects assign_to - User with the system wide Role, rather than selecting those users who have the role in this project, as i would assume.


journals

There is no system wide role for a user, AFAIK?
--------------------------------------------------------------------------------
Etienne Massip wrote:
> There is no system wide role for a user, AFAIK?

AFAIK only the two [[RedmineRoles#System-roles|system roles]] have system wide effects. Though, this does seems not related to this issue as far as I understand the question...

Tobias, please provide some more info and/or a use-case description about this "defect". See [[submissions]] for some guidelines.
--------------------------------------------------------------------------------
the issues lies in
@app/models/query.rb@
method
@sql_for_assigned_to_role_field@
line 630
@user_ids << role.members.collect(&:user_id)@

somehow we have to collect those user_ids, that have this specific role/roles in the *specific* project, we are filtering in,
not those users that have the role in *any* project.

I hope you understand what I mean.

--------------------------------------------------------------------------------
Ok, now I understand.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Fixed in r7847.
--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

  • カテゴリIssues_2 にセット
  • 対象バージョン1.3.0_36 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0