gitlab-org--gitlab-foss/spec
Sean McGivern 42ccb5981a 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.
2017-06-30 10:33:44 +01:00
..
bin
config
controllers Merge branch 'hb-fix-abuse-report-on-stale-user-profile' into 'master' 2017-06-29 13:23:09 +00:00
db/production
factories Merge remote-tracking branch 'upstream/master' into 28717-additional-metrics-review-branch 2017-06-22 15:05:52 +02:00
features Merge branch '34502-gitlab-git-hook-should-set-the-gl_repository-environment-variable' into 'master' 2017-06-30 08:53:14 +00:00
finders Only do complicated confidentiality checks when necessary 2017-06-30 10:33:44 +01:00
fixtures Merge remote-tracking branch 'upstream/master' into 28717-additional-metrics-review-branch 2017-06-22 15:05:52 +02:00
helpers Strip trailing whitespace in relative submodule URL 2017-06-28 14:01:49 -05:00
initializers
javascripts Merge branch 'dm-merge-request-creations-controller' into 'master' 2017-06-29 11:57:06 +00:00
lib Set the GL_REPOSITORY env variable on Gitlab::Git::Hook 2017-06-29 15:22:40 -04:00
mailers Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
migrations Merge branch 'master' into fix/gb/improve-updating-column-in-batches-helper 2017-06-22 12:37:38 +02:00
models Set the GL_REPOSITORY env variable on Gitlab::Git::Hook 2017-06-29 15:22:40 -04:00
policies convert all the policies to DeclarativePolicy 2017-06-27 12:44:37 -07:00
presenters Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
requests Merge branch '34078-allow-to-enable-feature-flags-with-more-granularity' into 'master' 2017-06-29 16:36:22 +00:00
routing Split up MergeRequestsController 2017-06-28 18:17:44 -05:00
rubocop/cop Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
serializers Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
services Set the GL_REPOSITORY env variable on Gitlab::Git::Hook 2017-06-29 15:22:40 -04:00
sidekiq/cron
support Merge branch 'fix-sidebar-showing-mobile-merge-requests' into 'master' 2017-06-30 07:07:18 +00:00
tasks Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
unicorn
uploaders
validators Rebuild the dynamic path before validating it 2017-06-21 16:09:35 +02:00
views Split up MergeRequestsController 2017-06-28 18:17:44 -05:00
workers Use gl_repository exclusively as identifier on post-receive 2017-06-27 19:20:20 -04:00
factories_spec.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb Include Devise::Test::IntegrationHelpers for all feature specs 2017-06-19 18:59:03 -05:00