sentry
sentry copied to clipboard
fix(releases): filter out releases with projects by project membership instead of access
Related PR, which got reverted.
The current endpoint returns all releases filtered by projects a user has access to.
This leads to the release lists page showing many different releases that are irrelevant to users (especially when Open Membership is enabled).

With this change, we will only return releases with projects a user is a member of.
This PR only affects the default landing Release lists page when you initially click Releases in the navbar, a user will still be able to see releases for all projects he/she has access to by clicking the Show All Projects button:

Fixes WOR-1665