Project

General

Profile

Actions

Feature #7774

open

Sub groups or Multi-level groups

Added by Jos Accapadi about 13 years ago. Updated almost 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Administration
Target version:
-
Start date:
2011-03-04
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

Did a preliminary search, but did not find a feature request for this.

I see a need for having sub-groups as part of groups ability

Group A
Group B
Member
Member

Group C
Member
Member

Group D
Member
Group E
Member

As an example, we may have a marketing group, who has a web unit as part of it. In some projects it would be good to assign the whole marketing group to see a project, and in some it would be just beneficial to do the web unit or sub group.

This would eliminate the need for duplicate entry of names into different groups.


Files

paste_9959.diff (12.7 KB) paste_9959.diff Jérôme BATAILLE, 2019-06-04 11:02

Related issues

Related to Redmine - Feature #6772: Group as meber of a groupNew2010-10-29

Actions
Has duplicate Redmine - Feature #20228: Assign issues to groups as group level optionClosed

Actions
Has duplicate Redmine - Feature #25768: Group hierarchyClosed

Actions
Actions #1

Updated by Jos Accapadi about 13 years ago

Forgot formatting isn't preserved by default.


Did a preliminary search, but did not find a feature request for this.

 I see a need for having sub-groups as part of groups ability

 Group A
    Group B
        Member
        Member

 Group C
     Member
     Member

 Group D
     Member
     Group E
        Member

As an example, we may have a marketing group, who has a web unit as part of it.  In some projects it would be good to assign the whole marketing group to see a project, and in some it would be just beneficial to do the web unit or sub group.

This would eliminate the need for duplicate entry of names into different groups.

Actions #2

Updated by Etienne Massip about 13 years ago

  • Category set to Administration
Actions #3

Updated by Jérémy Subtil almost 13 years ago

Hi there,

As this feature is a need for my company (Smile), I started to implement it. You can check my code on my dedicated Redmine branch: https://github.com/smile-oss/redmine/tree/subgroups

Visible features:
  • You can put an existing group into another group, so that the first one becomes a "subgroup".
  • When you add a "root group" to a project, its subgroups are added as well.

From a technical point of view, the many-to-many relation between users and groups have been refactored to a relation between principals and groups.

TODO:
  • Update existing unit tests, and write new ones.
  • Remove remaining inconsitencies, i.e. "user" fields and labels not renamed as "principal".
  • Review the code.

As this is an interesting feature, the aim of my contribution is to integrate the patch into upstream. So any support, feedback or code improvement would be greatly appreciated. :)

Actions #4

Updated by Not Needed about 12 years ago

Hey Jérémy,

I noticed your github link doesn't work anymore. What is the current status of this, do you plan on releasing this as a plugin. I would very interested in this.

Actions #5

Updated by Jérémy Subtil about 12 years ago

Sorry, my company's repository was moved: https://github.com/smile-sa/redmine/tree/subgroups

I left my company a few months ago and as far as I know there is no plan about this branch. Feel free to code on top of it. It's working.

From what I remember, by Redmine's design, it was quite impossible to implement such a feature as a plugin. It has to be a core development.

Actions #6

Updated by Not Needed about 12 years ago

Thanks, I will take a look at that.

Actions #7

Updated by Jérôme BATAILLE about 12 years ago

Hi all, I am now working in the same company as Jérémy used to (since 6 months).

This company has a strong will to bring it's numerous Redmine enhancements to the core.
So if you need support for this issue I will be glad to help.

Actions #8

Updated by Bruno Spyckerelle over 11 years ago

Hi Jérôme !
Any news about this enhancement ? Is it available with redmine2 ?
We are very interested in this feature which could strongly improve the way we use redmine.

Actions #9

Updated by Michael Probst about 11 years ago

I would like to see this feature in redmine as well.

We run several redmine servers and one use case is to have
lets say working groups including companies which include users.

Example:

CompanyA
  UserA, UserB

CompanyB
  UserC

WorkingGroupA
  CompanyA, CompanyB

WorkingGroupB
  CompanyB

ProjectA
  WorkingGroupA, WorkingGroupB
ProjectB
  WorkingGroupB, CompanyC

This feature would greatly reduce amount of administrative work.

Actions #10

Updated by Jérôme BATAILLE about 11 years ago

Hi, the original repository was lost, so I will take time to search if I can find the source code somewhere.

Actions #11

Updated by Michael Esemplare about 11 years ago

Feature is related to #6772.

Actions #12

Updated by Jérémy Subtil about 11 years ago

Hi, actually the repository moved to https://github.com/Smile-SA/redmine/tree/subgroups

Actions #13

Updated by Jonas Halbe almost 11 years ago

is this feature up to date or will it be implemented in the next releases? it's also a need for my company, but i'm not really familiar to ruby and we would love to use this with redmine2.3.

Actions #14

Updated by Samuel F. Baggen almost 11 years ago

Hello,

I'm very interested on this feature, I don't imagine an organization without subgroups, for example you want to contact the group programmers or just the programmers_ruby (you have a lot of different language programmers that are not concerned in ruby topics, they should be not annoyed with notifications / assignments

I have made a look to the Simle-SA project and created a diff for their subgroups plugin (or more like a patch), I have posted it here if anybody wants to make a look, unfortunately my ruby knowledges are really poor so I can't help much, if anybody makes it working or create a plugin for this, please notify us! at least me are very interested on such feature

$ git diff master...subgroups

Patch: http://paste.debian.net/9959/

Actions #15

Updated by Jongwook Choi over 10 years ago

+1

This is very useful, especially for large companies or organizations. Not an easy feature.. but deserves to belong redmine core.

Actions #16

Updated by Jeremy Bailey over 10 years ago

+1

This would be very useful for organizing our users. Being able to have nested groups would simplify our management quite a bit. We'd like to assign certain issues to an entire department, and other issues we'd like to assign to functional groups like coders or translators. Redmine's projects are built around sub-projects and (optional) inheritance of permissions, it makes aesthetic sense to have a parallel hierarchical structure for groups.

Actions #17

Updated by Sergiy Nazarov over 10 years ago

+1
This would be very useful for organizing our users, too

Actions #18

Updated by François Bélingard over 10 years ago

+1

Actions #19

Updated by David Tremblay over 10 years ago

I think that large organization such as government would clearly benefit from that feature

Actions #20

Updated by Beni Bilme over 10 years ago

+1
I work in a non-profit organization and my organization is really in need of this feature

Actions #21

Updated by Sam He about 10 years ago

1
My redmine has 40
people with multiple projects. I hope the user group management can be set in project level by the project's owner.

Actions #23

Updated by Jean-Francois FREBOURG over 8 years ago

+1
Also interrested to have multi-levels group.

Actions #24

Updated by Toshi MARUYAMA over 8 years ago

  • Has duplicate Feature #20228: Assign issues to groups as group level option added
Actions #25

Updated by Omar MEZRAG over 8 years ago

+1

Actions #26

Updated by Dev Full stack over 8 years ago

+1

Actions #27

Updated by Patrick LANVIN over 7 years ago

+1
I uses redmine for 300 users and this feature is a must to have :)

Actions #28

Updated by Shinji Tamura about 7 years ago

+1

Actions #29

Updated by Tomoko Shimizutani about 7 years ago

+1

Actions #30

Updated by Toshi MARUYAMA almost 7 years ago

Actions #31

Updated by Aleksandar Pavic about 6 years ago

+1

Just a parent-child relationship would be sufficient...

Actions #32

Updated by Jérôme BATAILLE almost 5 years ago

Here is the original patch, not compatible with recent Redmine versions :

Actions

Also available in: Atom PDF