Adding group to project members results in 404
Summary
When trying to add a group to the members of the www-gitlab-com project I received a 404 error.
Steps to reproduce
- Go to www-gitlab-com repo members: https://gitlab.com/gitlab-com/www-gitlab-com/-/project_members
- Select Invite group tab
- Search for gitlab-data and select it
- Click invite
- Get redirected to 404 page.
What is the current bug behavior?
According to this Slack thread the policy is that you should not be able to add groups that you are not a member of: https://gitlab.slack.com/archives/CETG54GQ0/p1593165393095900 (internal to GitLab).
Therefor I believe the bug is that I should not have been able to select the gitlab-data group as I am not a member of this group.
What is the expected correct behavior?
gitlab-data group should not appear in search results for groups.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com