Feature #7774

Sub groups or Multi-level groups

Added by Jos Accapadi about 2 years ago. Updated 13 days 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 Feature #6772: Group as meber of a group New 2010-10-29

History

#1 Updated by Jos Accapadi about 2 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 about 2 years ago

  • Category set to Administration

#3 Updated by Jérémy Subtil about 2 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 over 1 year 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 over 1 year 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 over 1 year ago

Thanks, I will take a look at that.

#7 Updated by Jérôme BATAILLE over 1 year 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 7 months 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 4 months 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 4 months 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 4 months ago

Feature is related to #6772.

#12 Updated by Jérémy Subtil 4 months ago

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

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

Also available in: Atom PDF