https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292011-11-08T16:03:29ZRedmineRedmine - Defect #9540: Issue filter by assigned_to_role is not project specifichttps://www.redmine.org/issues/9540?journal_id=335922011-11-08T16:03:29ZEtienne Massip
<ul></ul><p>There is no system wide role for a user, AFAIK?</p> Redmine - Defect #9540: Issue filter by assigned_to_role is not project specifichttps://www.redmine.org/issues/9540?journal_id=336112011-11-09T16:37:25ZMischa The Evil
<ul></ul><p>Etienne Massip wrote:</p>
<blockquote>
<p>There is no system wide role for a user, AFAIK?</p>
</blockquote>
<p>AFAIK only the two <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/RedmineRoles#System-roles">system roles</a> have system wide effects. Though, this does seems not related to this issue as far as I understand the question...</p>
<p>Tobias, please provide some more info and/or a use-case description about this "defect". See <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/Submissions">submissions</a> for some guidelines.</p> Redmine - Defect #9540: Issue filter by assigned_to_role is not project specifichttps://www.redmine.org/issues/9540?journal_id=336132011-11-09T16:52:21ZTobias as
<ul></ul><p>the issues lies in <br /><code>app/models/query.rb</code><br />method<br /><code>sql_for_assigned_to_role_field</code><br />line 630<br /><code>user_ids << role.members.collect(&:user_id)</code></p>
<p>somehow we have to collect those user_ids, that have this specific role/roles in the <strong>specific</strong> project, we are filtering in,<br />not those users that have the role in <strong>any</strong> project.</p>
<p>I hope you understand what I mean.</p> Redmine - Defect #9540: Issue filter by assigned_to_role is not project specifichttps://www.redmine.org/issues/9540?journal_id=336142011-11-09T17:45:38ZEtienne Massip
<ul><li><strong>Target version</strong> set to <i>Candidate for next minor release</i></li></ul><p>Ok, now I understand.</p> Redmine - Defect #9540: Issue filter by assigned_to_role is not project specifichttps://www.redmine.org/issues/9540?journal_id=338982011-11-19T13:56:01ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Subject</strong> changed from <i>Issue-Filter by assigned_to_role is not Project specific</i> to <i>Issue filter by assigned_to_role is not project specific</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Confirmed</i></li></ul> Redmine - Defect #9540: Issue filter by assigned_to_role is not project specifichttps://www.redmine.org/issues/9540?journal_id=338992011-11-19T14:32:49ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Assignee</strong> set to <i>Jean-Philippe Lang</i></li><li><strong>Target version</strong> changed from <i>Candidate for next minor release</i> to <i>1.3.0</i></li></ul> Redmine - Defect #9540: Issue filter by assigned_to_role is not project specifichttps://www.redmine.org/issues/9540?journal_id=339002011-11-19T15:11:49ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>Confirmed</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Fixed in <a class="changeset" title="Fixed: Issue filter by assigned_to_role is not project specific (#9540)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/7847">r7847</a>.</p>