Commit 999f7403 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch '340829-change-global-searches-feature-flag-type' into 'master'

Change block_anonymous_global_searches to ops

See merge request gitlab-org/gitlab!74397
parents e7476e89 9d9f3a10
......@@ -152,7 +152,7 @@ class SearchController < ApplicationController
def block_anonymous_global_searches
return if params[:project_id].present? || params[:group_id].present?
return if current_user
return unless ::Feature.enabled?(:block_anonymous_global_searches)
return unless ::Feature.enabled?(:block_anonymous_global_searches, type: :ops)
store_location_for(:user, request.fullpath)
......
---
name: block_anonymous_global_searches
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/41041
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/244276
rollout_issue_url:
milestone: '13.4'
type: development
type: ops
group: group::global search
default_enabled: false
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