Commit 5889b69a authored by Peter Leitzen's avatar Peter Leitzen

Merge branch '205682-feature-flag-removal' into 'master'

Remove the `nuget_package_registry` feature flag

See merge request gitlab-org/gitlab!25685
parents 7c9be72f ea48ad9b
......@@ -91,7 +91,6 @@ module API
end
resource :projects, requirements: API::NAMESPACE_OR_PROJECT_REQUIREMENTS do
before do
not_found! if Feature.disabled?(:nuget_package_registry, authorized_user_project, default_enabled: true)
authorize_packages_feature!(authorized_user_project)
end
......
This diff is collapsed.
......@@ -28,16 +28,6 @@ RSpec.shared_examples 'rejects nuget packages access with packages features disa
end
end
RSpec.shared_examples 'rejects nuget packages access with feature flag disabled' do
context 'with feature flag disabled' do
before do
stub_feature_flags(nuget_package_registry: { enabled: false, thing: project })
end
it_behaves_like 'rejects nuget packages access', :anonymous, :not_found
end
end
RSpec.shared_examples 'process nuget service index request' do |user_type, status, add_member = true|
context "for user type #{user_type}" do
before do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment