Sub groups or Multi-level groups
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
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.
#1 Updated by Jos Accapadi about 9 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.
#3 Updated by Jérémy Subtil almost 9 years ago
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/subgroupsVisible 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. :)
#5 Updated by Jérémy Subtil about 8 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.
#9 Updated by Michael Probst about 7 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.
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.
#12 Updated by Jérémy Subtil about 7 years ago
Hi, actually the repository moved to https://github.com/Smile-SA/redmine/tree/subgroups
#14 Updated by Samuel F. Baggen almost 7 years ago
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
#16 Updated by Jeremy Bailey over 6 years ago
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.