Provide a way to show projects where a group has "inherited" permissions to projects from being invited to another group, in the Groups API
Proposal
There is currently not a way to view the projects a group has access to when it has inherited membership to the parent group of the projects with the Groups API.
It would be nice to provide a way to show projects where a group has "inherited" permissions to projects, in the Groups API.
Context
Given the following group hierachy:
TopLevelGroup
├── Group1
│ └── Subgroup1
└── Group2
└── Project
Then invite SubGroup1 into Group2, so that Subgroup1 has access to Project via inheritance.
- If we use the Details of a group API endpoint, we see no
projects:
{
"id": 12,
"name": "subgroup1",
"path": "subgroup1",
"parent_id": 9,
...
"organization_id": 1,
"shared_with_groups": [],
"projects": [],
...
}
- If we use the List a group’s projects API endpoint, an empty array (
[]) is returned.