diff options
Diffstat (limited to 'lib/api/helpers/project_snapshots_helpers.rb')
-rw-r--r-- | lib/api/helpers/project_snapshots_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers/project_snapshots_helpers.rb b/lib/api/helpers/project_snapshots_helpers.rb index 13cec1bfd5c..e708dbf0156 100644 --- a/lib/api/helpers/project_snapshots_helpers.rb +++ b/lib/api/helpers/project_snapshots_helpers.rb @@ -6,7 +6,7 @@ module API prepend_if_ee('::EE::API::Helpers::ProjectSnapshotsHelpers') # rubocop: disable Cop/InjectEnterpriseEditionModule def authorize_read_git_snapshot! - authenticated_with_full_private_access! + authenticated_with_can_read_all_resources! end def send_git_snapshot(repository) |