Feature #7774

Sub groups or Multi-level groups

Added by Jos Accapadi over 6 years ago. Updated 7 months ago.

Status:NewStart date:2011-03-04
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Administration
Target version:-
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.


Related issues

Related to Redmine - Feature #6772: Group as meber of a group New 2010-10-29
Duplicated by Redmine - Feature #20228: Assign issues to groups as group level option Closed
Duplicated by Redmine - Feature #25768: Group hierarchy Closed

History

#1 Updated by Jos Accapadi over 6 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.

#2 Updated by Etienne Massip over 6 years ago

  • Category set to Administration

#3 Updated by Jérémy Subtil over 6 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. :)

#4 Updated by Not Needed almost 6 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.

#5 Updated by Jérémy Subtil almost 6 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.

#6 Updated by Not Needed almost 6 years ago

Thanks, I will take a look at that.

#7 Updated by Jérôme BATAILLE almost 6 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.

#8 Updated by Bruno Spyckerelle almost 5 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.

#9 Updated by Michael Probst almost 5 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.

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

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

#11 Updated by Michael Esemplare over 4 years ago

Feature is related to #6772.

#12 Updated by Jérémy Subtil over 4 years ago

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

#13 Updated by Jonas Halbe over 4 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.

#14 Updated by Samuel F. Baggen over 4 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/

#15 Updated by Jongwook Choi over 4 years ago

+1

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

#16 Updated by Jeremy Bailey about 4 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.

#17 Updated by Sergiy Nazarov about 4 years ago

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

#19 Updated by David Tremblay almost 4 years ago

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

#20 Updated by Beni Bilme almost 4 years ago

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

#21 Updated by Sam He almost 4 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.

#23 Updated by Jean-Francois FREBOURG over 2 years ago

+1
Also interrested to have multi-levels group.

#24 Updated by Toshi MARUYAMA about 2 years ago

  • Duplicated by Feature #20228: Assign issues to groups as group level option added

#25 Updated by Omar MEZRAG about 2 years ago

+1

#26 Updated by Alex Alex about 2 years ago

+1

#27 Updated by Patrick LANVIN 11 months ago

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

#28 Updated by Shinji Tamura 7 months ago

+1

#29 Updated by Tomoko Shimizutani 7 months ago

+1

#30 Updated by Toshi MARUYAMA 4 months ago

Also available in: Atom PDF