Refactor application settings query to get indexed projects and namespaces
The following discussion from !128656 (merged) should be addressed:
-
@dstull started a discussion: (+2 comments) thought (non-blocking):
This is surprising... I wonder what the reasoning was behind creating a query in application settings model instead of the project model. Seems a bit odd to have queries like this in that model as I don't really see the relation. (not code introduced by this MR so non-blocking)