gitlab-org--gitlab-foss/spec/support
Krasimir Angelov 241ba4be79 Allow guests users to access project releases
This is step one of resolving
https://gitlab.com/gitlab-org/gitlab-ce/issues/56838.

Here is what changed:
- Revert the security fix from bdee9e8412.
- Do not leak repository information (tag name, commit) to guests in API
responses.
- Do not include links to source code in API responses for users that do
not have download_code access.
- Show Releases in sidebar for guests.
- Do not display links to source code under Assets for users that do not
have download_code access.

GET ':id/releases/:tag_name' still do not allow guests to access
releases. This is to prevent guessing tag existence.
2019-05-03 13:29:20 +00:00
..
api Resolve "Get milestone by title via API" 2019-03-27 09:01:07 +00:00
banzai
chunked_io
controllers Revert Rails.application.env_config after using mock_auth_hash 2019-04-23 21:11:08 +02:00
cycle_analytics_helpers
features Quarantine flaky test 2019-04-09 11:04:26 -07:00
gitlab-git-test.git
gitlab_stubs Remove gem install bundler from Docker-based Ruby environments 2019-01-01 19:27:19 +09:00
google_api
helpers Update metrics dashboard API to load yml from repo 2019-05-01 10:16:03 +00:00
http_io
import_export Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
matchers Remove .wiki and @md-typography mixin in favor of .md and .md-file 2019-03-26 14:29:33 +01:00
migrations_helpers Removes factories on Cluster background migration 2019-01-22 09:18:07 -06:00
prometheus
protected_tags
redis Autocorrect with RSpec/ExampleWording cop 2019-04-05 08:43:27 +00:00
services Upgrade Rails to 5.1.6.1 2019-04-23 08:31:23 +08:00
shared_context/policies Allow guests users to access project releases 2019-05-03 13:29:20 +00:00
shared_contexts [CE] Support multiple assignees for merge requests 2019-04-08 18:40:00 -03:00
shared_examples Adds a way to start multiple manual jobs in stage 2019-05-02 18:27:35 +00:00
shoulda/matchers
test_reports
trace
active_record_enum.rb
batch_loader.rb
capybara.rb
carrierwave.rb
commit_trailers_spec_helper.rb
database_cleaner.rb Reduce differences in spec/support/db_cleaner.rb 2019-03-07 08:13:37 +01:00
db_cleaner.rb Reduce differences in spec/support/db_cleaner.rb 2019-03-07 08:13:37 +01:00
external_authorization_service_helpers.rb Move Contribution Analytics related spec in spec/features/groups/group_page_with_external_authorization_service_spec to EE 2019-04-09 15:38:58 +00:00
forgery_protection.rb
generate-seed-repo-rb
issuables_requiring_filter_shared_examples.rb
json_response.rb
omni_auth.rb
prepare-gitlab-git-test-for-commit
protected_branch_helpers.rb Extract EE specific tests for protected branches/tags 2019-04-25 13:06:06 -03:00
protected_tag_helpers.rb Extract EE specific tests for protected branches/tags 2019-04-25 13:06:06 -03:00
rspec.rb
seed.rb
setup_builds_storage.rb
sidekiq.rb
stored_repositories.rb
stub_version.rb
unpack-gitlab-git-test
webmock.rb Reduce differences in spec/support/webmock.rb 2019-03-07 08:13:38 +01:00