https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292013-03-27T13:31:26ZRedmineRedmine - Patch #13612: Members roles : display group of rolehttps://www.redmine.org/issues/13612?journal_id=475932013-03-27T13:31:26ZJérôme BATAILLE
<ul><li><strong>File</strong> <a href="/attachments/9386">RM_13612_members_roles_-_display_group_of_role_RM_V1.2.1.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/9386/RM_13612_members_roles_-_display_group_of_role_RM_V1.2.1.diff">RM_13612_members_roles_-_display_group_of_role_RM_V1.2.1.diff</a> added</li></ul><p>This patch was done on an old Redmine V1.2.1.</p> Redmine - Patch #13612: Members roles : display group of rolehttps://www.redmine.org/issues/13612?journal_id=476002013-03-27T16:56:53ZJérôme BATAILLE
<ul><li><strong>File</strong> <a href="/attachments/9388">group_roles.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/9388/group_roles.png">group_roles.png</a> added</li></ul><p>Example :<br /><img src="https://www.redmine.org/attachments/download/9388/group_roles.png" alt="" /></p> Redmine - Patch #13612: Members roles : display group of rolehttps://www.redmine.org/issues/13612?journal_id=483262013-04-10T21:13:10ZJan Niggemann (redmine.org team member)jan.niggemann@redmine.org
<ul><li><strong>Target version</strong> set to <i>Candidate for next minor release</i></li></ul> Redmine - Patch #13612: Members roles : display group of rolehttps://www.redmine.org/issues/13612?journal_id=596212014-11-05T09:16:51ZJérôme BATAILLE
<ul></ul><p>Hi, this patch is simple to validate, is there is a chance that it could be integrated to V3.0.0 ?</p> Redmine - Patch #13612: Members roles : display group of rolehttps://www.redmine.org/issues/13612?journal_id=596252014-11-05T10:45:51ZJérôme BATAILLE
<ul><li><strong>File</strong> <a href="/attachments/12633">RM_13612_members_roles_-_display_group_of_role_RM_V1.2.1.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/12633/RM_13612_members_roles_-_display_group_of_role_RM_V1.2.1.diff">RM_13612_members_roles_-_display_group_of_role_RM_V1.2.1.diff</a> added</li></ul><p>Here is a patch against a more recent version of Redmine</p> Redmine - Patch #13612: Members roles : display group of rolehttps://www.redmine.org/issues/13612?journal_id=596302014-11-05T14:56:43ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>Can you explain what a group of role is ? That would help to understand the purpose of the patch.</p> Redmine - Patch #13612: Members roles : display group of rolehttps://www.redmine.org/issues/13612?journal_id=596322014-11-05T15:16:12ZJérôme BATAILLE
<ul><li><strong>File</strong> <a href="/attachments/12637">RM_13612_members_roles_-_display_group_of_role_RM_V1.2.1.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/12637/RM_13612_members_roles_-_display_group_of_role_RM_V1.2.1.diff">RM_13612_members_roles_-_display_group_of_role_RM_V1.2.1.diff</a> added</li></ul><p>Hi Jean-Philippe,</p>
<p>I mean Group of the role, if the user is member of the project through a Group.</p>
<p>In the example image <strong>CDP</strong> is member of the project through the group <strong>Test2</strong></p>
<p>The aim of this enhancement is to display this information, which is very be useful when you have a lot of users ands groups in the project</p>
<p>P.S. : the obsolete part is un-related, my mistake, here is a fixed fixed patch, you can remove the previous one.</p> Redmine - Patch #13612: Members roles : display group of rolehttps://www.redmine.org/issues/13612?journal_id=697672016-03-19T00:57:18ZJérôme BATAILLE
<ul></ul><p>Hi, I think this patch is interesting for cases where Group members are mixed with normal members.</p>
<p>Can you check it again ?</p> Redmine - Patch #13612: Members roles : display group of rolehttps://www.redmine.org/issues/13612?journal_id=697682016-03-19T00:58:20ZJérôme BATAILLE
<ul></ul><p>perhaps we can change the label :</p>
<p>User (by Group : <group name>)</p> Redmine - Patch #13612: Members roles : display group of rolehttps://www.redmine.org/issues/13612?journal_id=753862016-12-26T12:41:37ZGo MAEDA
<ul></ul><p>Jérôme BATAILLE wrote:</p>
<blockquote>
<p>Can you check it again ?</p>
</blockquote>
<p>The file <code>RM_13612_members_roles_-_display_group_of_role_RM_V1.2.1.diff</code> is a patch for <code>vendor/plugins/redmine_smile/app/views/projects/settings/_members.rhtml</code>.</p>
<p>Is it a patch for Redmine core? It looks like a patch for some plugin.</p> Redmine - Patch #13612: Members roles : display group of rolehttps://www.redmine.org/issues/13612?journal_id=754202016-12-27T03:52:55ZMischa The Evil
<ul><li><strong>File</strong> <a href="/attachments/17334">rm13612-note_7_patch_against_trunk_r16111.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/17334/rm13612-note_7_patch_against_trunk_r16111.patch">rm13612-note_7_patch_against_trunk_r16111.patch</a> added</li></ul><p>Go MAEDA wrote:</p>
<blockquote>
<p>Jérôme BATAILLE wrote:</p>
<blockquote>
<p>Can you check it again ?</p>
</blockquote>
<p>The file <code>RM_13612_members_roles_-_display_group_of_role_RM_V1.2.1.diff</code> is a patch for <code>vendor/plugins/redmine_smile/app/views/projects/settings/_members.rhtml</code>.</p>
<p>Is it a patch for Redmine core? It looks like a patch for some plugin.</p>
</blockquote>
<p>As far as I can tell it's a patch to the core's <code>/projects/settings/_members.rhtml</code> partial inside a Redmine plugin (<code>redmine_smile</code>), thus overloading the core's partial with the modified one. With that in mind I created a patch file against current trunk (<a class="changeset" title="Adds .rebuild_single_tree! to rebuild a single tree (#24167)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/16111">r16111</a>) which I hereby attach. Please note that I haven't tested any of this code, it's just a copy-paste of the patch in note 7 (which at maximum is against <a class="changeset" title="Fixed: "Loading..." icon does not disappear after adding a project member when there is no other ..." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/4719">r4719</a>) against current trunk. I quickly scanned the code and think that it should be working at current Redmine codebase though.</p> Redmine - Patch #13612: Members roles : display group of rolehttps://www.redmine.org/issues/13612?journal_id=754262016-12-27T09:03:04ZJérôme BATAILLE
<ul></ul><p>Thanks to have generated the patch against current core.</p>
<p>This is a view only enhancement, with code that could be added in the controller. This patch has been on our production for a few years now and it's really useful.</p> Redmine - Patch #13612: Members roles : display group of rolehttps://www.redmine.org/issues/13612?journal_id=757502017-01-09T07:55:52ZGo MAEDA
<ul><li><strong>File</strong> <a href="/attachments/17431">user-belongs-to-two-group.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/17431/user-belongs-to-two-group.png">user-belongs-to-two-group.png</a> added</li></ul><p>I tried out the patch and found a small problem. Please see the following screenshot. The user "User Misc" actually belongs to 2 groups ("A Team" and "B Team"), but only "A Team" is displayed on the right side of user name.</p>
<p><img src="https://www.redmine.org/attachments/download/17431/user-belongs-to-two-group.png" alt="" /></p> Redmine - Patch #13612: Members roles : display group of rolehttps://www.redmine.org/issues/13612?journal_id=765892017-02-12T02:05:22ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-1 priority-4 priority-default" href="/issues/6301">Defect #6301</a>: Unintuitive display of groups in project settings</i> added</li></ul>