diff options
Diffstat (limited to 'lib/api/group_debian_distributions.rb')
-rw-r--r-- | lib/api/group_debian_distributions.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/api/group_debian_distributions.rb b/lib/api/group_debian_distributions.rb index f0376fe2c9c..1f43bb0e2b3 100644 --- a/lib/api/group_debian_distributions.rb +++ b/lib/api/group_debian_distributions.rb @@ -6,6 +6,10 @@ module API requires :id, type: String, desc: 'The ID of a group' end + before do + not_found! if Gitlab::FIPS.enabled? + end + resource :groups, requirements: API::NAMESPACE_OR_PROJECT_REQUIREMENTS do after_validation do require_packages_enabled! |