Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2017-06-20 18:38:14 +0300
committerSean McGivern <sean@gitlab.com>2017-06-30 12:33:44 +0300
commit42ccb5981a8425216f9d69372754c52510f0cade (patch)
treeb26bb1a97d8e6c5eeece65d1c19dec226d899aac /.flayignore
parent4a9ffb2376163ce6c81dcf09ad3601098cc7d23d (diff)
Only do complicated confidentiality checks when necessary
When we are filtering by a single project, and the current user has access to see confidential issues on that project, we don't need to filter by confidentiality at all - just as if the user were an admin. The filter by confidentiality often picks a non-optimal query plan: for instance, AND-ing the results of all issues in the project (a relatively small set), and all issues in the states requested (a huge set), rather than just starting small and winnowing further.
Diffstat (limited to '.flayignore')
0 files changed, 0 insertions, 0 deletions