Unable to share a project with a group
Summary
Inviting a group to a project fails with 404 if you're not a member of this group but a member of a project of this group whereas :
- the group is available in the list of groups in the form
- it should be possible according to the documentation : https://docs.gitlab.com/ce/user/project/members/share_project_with_groups.html
Steps to reproduce
user1 :
- creates a group
groupA
- creates of project
projectX
in the namespace ofgroupA
- add
user2
as a member ofprojectX
user2 :
- creates a project
projectY
- invite
groupA
to be a member ofprojectY
What is the current bug behavior?
Fails with 404 and the group is not added to the members
What is the expected correct behavior?
The group should be added to the members (and it works if user1
is a member of groupA
).
Output of checks
This bug happens on GitLab.com