using API /groups all subgroups are not shown
Using EE 11.1
Expected Behavior
as the owner of a group {Department} then I'd expect to be able to see all subgroups in the {department}
Method and Endpoint
GET: https://gitlab.global.CORP.com/api/v4/groups/DEPT/subgroups?page=1&per_page=100
Using Personal Access Tokens that I created scoped api.
Actual Results
[
{
"id": 1895,
"web_url": "https://gitlab.global.CORP.com/groups/DEPT/teams/devops",
"name": "devops",
"path": "devops",
"description": "",
"visibility": "public",
"lfs_enabled": false,
"avatar_url": null,
"request_access_enabled": true,
"full_name": "DEPT / teams / devops",
"full_path": "DEPT/teams/devops",
"parent_id": 1559,
"ldap_cn": null,
"ldap_access": null
},
{
"id": 1789,
"web_url": "https://gitlab.global.CORP.com/groups/DEPT/teams/ms-guild",
"name": "ms-guild",
"path": "ms-guild",
"description": "",
"visibility": "public",
"lfs_enabled": false,
"avatar_url": null,
"request_access_enabled": true,
"full_name": "DEPT / teams / ms-guild",
"full_path": "DEPT/teams/ms-guild",
"parent_id": 1559,
"ldap_cn": null,
"ldap_access": null
},
{
"id": 1896,
"web_url": "https://gitlab.global.CORP.com/groups/DEPT/teams/ops",
"name": "DEPT Ops",
"path": "ops",
"description": "",
"visibility": "public",
"lfs_enabled": true,
"avatar_url": null,
"request_access_enabled": false,
"full_name": "DEPT / teams / DEPT Ops",
"full_path": "DEPT/teams/ops",
"parent_id": 1559,
"ldap_cn": null,
"ldap_access": null
}
]
Mismatch from Expected and Actual
When I navigate to the /DEPT/TEAMS/ I see more subgroups.
Ops, DevOps, Ms-guild
DarkMatter with visibility: Internal
seniors, uikit-approvers with visibility: private
Edited by Casey Burnett