Nested Teams #2566
Replies: 1 comment 1 reply
-
You raise an interesting idea. I often find myself imagining a similar hierarchy when brainstorming an app. And of course, there's still the legitimate scenario where "teams" is truly needed. That ranges from "departments" and some forms of multitenancy to online classroom concepts. There are probably some scenarios where truly nested teams would be needed. So, all that to say: let's continue the discussion. |
Beta Was this translation helpful? Give feedback.
-
We are building a feature that has nested teams logic, where in principle, child teams inherit the permissions of the parent team. But it doesn't automatically add a person to a parent team. Only the permissions.
Use belongs to an org,
Org has teams,
Team can have child-teams
child-teams can have child-teams
What we want to build mirrors this https://github.blog/2017-06-13-nested-teams-add-depth-to-your-team-structure/
Would it be possible to add this as a feature to this library? In my head I'm thinking we add a nullable
parent_team_id
column whereteam_id
columns have been added and then adjust the can() ...etc logic to follow the rule that child teams inherit their parent permissions.Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions