Empty epics list and error in incognito when vue_epics_list enabled
Summary
When the vue_epics_list
FF is enabled, the epics list no longer works when viewing it in incognito/private browsing mode.
This was observed on GitLab.com for the gitlab-org
when the FF was enabled there.
The GraphQL response with the epics had 20 items but all were errors with the text, "The resource that you are attempting to access does not exist or you don't have permission to perform this action".
At least some of these epics, probably all, were non-confidential and therefore should've been visible to a logged-out user.
Steps to reproduce
- Enable
vue_epics_list
on a group with epics - Open a private browser tab
- Visit the group's epic list
Example Project
What is the current bug behavior?
- A red banner is shown with a general error text
- An empty state is shown in the interface
- The GraphQL query contains only errors
What is the expected correct behavior?
- The epic list should be populated with visible (non-confidential) epics