Organization groups GraphQL query only returns groups you are a member of
Summary
If you go to Organization
-> Groups and projects
it only displays groups that you are a member of. It should also show all public groups, internal groups to signed in users, and private groups to admins.
Steps to reproduce
- Create an organization at
/-/organizations/new
- Create a public group in that organization at
/-/organizations/<organization path>/groups/new
(wait for !146001 (merged) to be merged before this will work) - Sign in as another user
- Navigate to newly created group, you should be able to see it
- Navigate to
/-/organizations/<organization path>/groups_and_projects
, that group is not listed
What is the current bug behavior?
Groups that are visible to you are not listed in Organization
-> Groups and projects
What is the expected correct behavior?
All groups visible to you should be listed in Organization
-> Groups and projects
?
Possible fixes
Update GraphQL query resolver. Needs more detailed refinement
Edited by Peter Hegman