Cells: Fix cross joins in epics_finder

Fix the cross joins in these files:

  • ee/app/finders/epics_finder.rb:57:

Refer to the epic for more information about this.

Why cross joins are not allowed between users and namespaces?

The table users is planned to be moved to the gitlab_main_clusterwide database. Which means that it wont reside on the same database where namespaces table is going to be.

Why do we have this epic?

As part of the MR: !124319 (merged), we identified all the cross joins between the tables users and namespaces, and marked all the associations or code blocks to temporarily allow those violations with issues to fix them.

How to approach each one of the issues in this epic?

Edited by Joseph Wambua