diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-12 15:11:33 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-12 15:11:33 +0300 |
commit | 0127158127cb4f21b06ea39cc243d8ac17fc3e41 (patch) | |
tree | fa430e57fd398272df6fda9bbf9a8dd19af063f9 /app/controllers | |
parent | fab43fda656e091104f79668db65f7c5e2a2e68c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/concerns/harbor/access.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/controllers/concerns/harbor/access.rb b/app/controllers/concerns/harbor/access.rb index 211566aeda7..9466952e98e 100644 --- a/app/controllers/concerns/harbor/access.rb +++ b/app/controllers/concerns/harbor/access.rb @@ -5,21 +5,13 @@ module Harbor extend ActiveSupport::Concern included do - before_action :harbor_registry_enabled! before_action :authorize_read_harbor_registry! - before_action do - push_frontend_feature_flag(:harbor_registry_integration) - end feature_category :integrations end private - def harbor_registry_enabled! - render_404 unless Feature.enabled?(:harbor_registry_integration, defined?(group) ? group : project) - end - def authorize_read_harbor_registry! raise NotImplementedError end |