[AI Catalog] Make AI Catalog explore page accessible

What does this MR do and why?

Adds a feature flag ai_catalog_public_explore to allow the AI Catalog explore page to be accessible without authentication when enabled.

before after
redirected to login page Screenshot_2026-04-10_at_16.15.13
Screenshot_2026-04-10_at_16.15.27
Screenshot_2026-04-10_at_16.15.31
Screenshot_2026-04-10_at_16.15.46

Next

Before the flag can be enabled we need follow-up MRs:

  • Disable the Enable buttons and add tooltip messages if not authorized

  • Hide the New agent and New flow buttons if not authorized

  • Add a menu item in the nav bar

  • MR 1 (this MR): !230916 (merged) - adds feature flag, makes page accessible to all users

  • MR 2: !231096 - restricts actions to certain users

  • MR 3: !231099 - renames policy from read_ai_catalog to use_ai_catalog

References

  • Feature issue: #595123
  • Rollout issue: #596348

How to set up and validate locally

  1. Enable the feature flag:
    Feature.enable(:ai_catalog_public_explore)
  2. Sign out or use incognito mode
  3. Visit http://localhost:3000/explore/ai-catalog
  4. Verify the page loads
  5. Disable the flag and verify unauthenticated users are redirected to login

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 #595123

Edited by Madelein van Niekerk

Merge request reports

Loading