Skip to content

Replace advanced_global_search_for_limited_indexing and block_anonymous_global_searches with admin setting

What does this MR do and why?

Replace advanced_global_search_for_limited_indexing and block_anonymous_global_searches with admin setting. Also add the option to change them from the search admin panel.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

  1. Update the setting from admin panel
  2. Try to doing global search as anonymous user and notice you get redirected to login page.
  3. Update the setting from admin panel and have limited indexing enabled
  4. Try to doing global search and then notice you will not be allowed to do that instead it will do a basic search.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #526230 (closed)

Edited by Siddharth Dungarwal

Merge request reports

Loading