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
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
google_api
helpers Update metrics dashboard API to load yml from repo 2019-05-01 10:16:03 +00:00
http_io
import_export
matchers
migrations_helpers
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
db_cleaner.rb
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