Group Access Token cannot access project via git+HTTP when added as a member via a project sharing
Summary
Related to https://gitlab.com/gitlab-org/gitlab/-/issues/365185.
Steps to reproduce
- created a top-level group called
Team A - created a
Group Level Access TokeninTeam A - created another top-level group called
Projects - created
Project Awith a repo inProjectsgroup - added
Team Aas a member ofProject A
What is the current bug behavior?
- querying
Project Avia API using theGroup Level Access Tokenstill works.✅ - accessing
Project Aviagit+HTTPusing theGroup Level Access Tokenfails.🛑
What is the expected correct behavior?
- querying
Project Avia API using theGroup Level Access Tokenstill works.✅ - accessing
Project Aviagit+HTTPusing theGroup Level Access Tokenworks.✅