gqlbackend: remove sub-repo perms filtering in graphql layer
Created by: bobheadxi
The sub-repo permissions model project has just been given a thumbs-up to take more time for a more robust approach - see this update. Because of this, we will be abandoning the filtering in graphqlbackend
approach, and applying the filtering using something more closely aligned with the initial RFC 503 proposal. This work will be tracked in the renamed PD 503.
This PR reverts the following PRs and related work:
- https://github.com/sourcegraph/sourcegraph/pull/27189
- https://github.com/sourcegraph/sourcegraph/pull/27206
Closes https://github.com/sourcegraph/sourcegraph/issues/27139 , closes https://github.com/sourcegraph/sourcegraph/issues/27138 , closes https://github.com/sourcegraph/sourcegraph/issues/27489, closes https://github.com/sourcegraph/sourcegraph/issues/27197
Thank you to everyone who worked with us on this and gave us feedback!