Honor Group Visibility level for Access to Groups API
Description
Honor Group Visibility level for Access to Groups API
Proposal
Currently, retrieving a public group's information via the API requires a token. Public groups are navigable in the web interface without authentication. We should reflect this in the Groups API
Links / references
Open an incognito window and navigate to:
Issue the following curl requests (without a token) to view the same information:
curl https://gitlab.com/api/v4/groups/gitlab-org/projects | jq
{
"message": "401 Unauthorized"
}
curl https://gitlab.com/api/v4/groups/gitlab-org | jq
{
"message": "401 Unauthorized"
}
Documentation blurb
Overview
What is it?
A tweak to the authentication requirements for accessing the Groups API
Why should someone use this feature?
Make publicly available Groups in the web interface also available in the API
Use cases
Who is this for? Provide one or more use cases.
API consumers wishing to index the projects within a publicly available group
Feature checklist
Make sure these are completed before closing the issue, with a link to the relevant commit.
-
Feature assurance -
Documentation -
Added to features.yml