bug: user cannot share project with group
Summary
User cannot share project with group on GitLab 10.0.3-ce.0 (Debian 8).
Steps to reproduce
Create a project in personal namespace. Attempt to share with any group on the system to which the user has no relation (no explicit membership in group, subgroup, or projects within group or subgroup).
What is the current bug behavior?
Only groups to which the user has a relation (as defined above) are listed.
What is the expected correct behavior?
The documentation does not state the user is restricted to sharing projects with groups to which he or she has a relation. Therefore the documented behavior should be to allow the user to share a project with any group he or she pleases. This is also very reasonable behavior - one should not have to be granted membership to a group (and all its other projects) to work with one.
Edited by Tom Downes