BigW Consortium Gitlab
Precalculate authorized projects in database ## What does this MR do? It caches user's authorized projects in database instead of using multiple unions, which should simplify and speed-up things since this operation (getting authorized projects) is used a lot. ## Are there points in the code the reviewer needs to double check? Did we miss a scenario where we need to refresh the list of projects? ## Does this MR meet the acceptance criteria? - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - [ ] ~~[Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)~~ - [ ] ~~API support added~~ - Tests - [x] Added for this feature/bug - [x] All builds are passing - [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html) - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if it does - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) ## What are the relevant issue numbers? #23150 See merge request !6839
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
api | Loading commit data... | |
banzai | Loading commit data... | |
cycle_analytics_helpers | Loading commit data... | |
features | Loading commit data... | |
gitlab_stubs | Loading commit data... | |
import_export | Loading commit data... | |
matchers | Loading commit data... | |
services | Loading commit data... | |
api_helpers.rb | Loading commit data... | |
capybara.rb | Loading commit data... | |
capybara_helpers.rb | Loading commit data... | |
carrierwave.rb | Loading commit data... | |
cycle_analytics_helpers.rb | Loading commit data... | |
database_connection_helpers.rb | Loading commit data... | |
db_cleaner.rb | Loading commit data... | |
email_format_shared_examples.rb | Loading commit data... | |
email_helpers.rb | Loading commit data... | |
factory_girl.rb | Loading commit data... | |
fake_u2f_device.rb | Loading commit data... | |
filter_spec_helper.rb | Loading commit data... | |
fixture_helpers.rb | Loading commit data... | |
git_helpers.rb | Loading commit data... | |
git_http_helpers.rb | Loading commit data... | |
import_spec_helper.rb | Loading commit data... | |
issue_helpers.rb | Loading commit data... | |
issue_tracker_service_shared_example.rb | Loading commit data... | |
javascript_fixtures_helpers.rb | Loading commit data... | |
jira_service_helper.rb | Loading commit data... | |
ldap_helpers.rb | Loading commit data... | |
login_helpers.rb | Loading commit data... | |
markdown_feature.rb | Loading commit data... | |
mentionable_shared_examples.rb | Loading commit data... | |
merge_request_helpers.rb | Loading commit data... | |
notify_shared_examples.rb | Loading commit data... | |
omni_auth.rb | Loading commit data... | |
project_features_apply_to_issuables_shared_examples.rb | Loading commit data... | |
project_hook_data_shared_example.rb | Loading commit data... | |
rake_helpers.rb | Loading commit data... | |
reference_parser_helpers.rb | Loading commit data... | |
reference_parser_shared_examples.rb | Loading commit data... | |
repo_helpers.rb | Loading commit data... | |
search_helpers.rb | Loading commit data... | |
select2_helper.rb | Loading commit data... | |
services_shared_context.rb | Loading commit data... | |
setup_builds_storage.rb | Loading commit data... | |
slash_commands_helpers.rb | Loading commit data... | |
snippets_shared_examples.rb | Loading commit data... | |
stub_configuration.rb | Loading commit data... | |
stub_gitlab_calls.rb | Loading commit data... | |
stub_gitlab_data.rb | Loading commit data... | |
taskable_shared_examples.rb | Loading commit data... | |
test_env.rb | Loading commit data... | |
updating_mentions_shared_examples.rb | Loading commit data... | |
wait_for_ajax.rb | Loading commit data... | |
wait_for_vue_resource.rb | Loading commit data... | |
webmock.rb | Loading commit data... | |
workhorse_helpers.rb | Loading commit data... |