Vote #70898
完了Issue filter by assigned_to_role is not project specific
0%
説明
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.
--------------------------------------------------------------------------------