Add visibility levels to agent form
What does this MR do and why?
Add visibility settings to agent form
Private for users with projects access, and public for any user without authorization.
Screenshots or screen recordings
Screen_Recording_2025-07-21_at_17.16.16
How to set up and validate locally
- Enable the feature flag:
echo "Feature.enable(:global_ai_catalog)" | rails c - If needed, add some seed data:
echo "FactoryBot.create_list(:ai_catalog_item, 10, item_type: :flow, project_id: 1000000)" | rails c - Visit http://gdk.test:3000/explore/ai-catalog/agents
- Create a private agent
- Create a public agent - shows an info box
- Edit the private one - shows an info box on public (same as 5)
- Edit the public one - shows an info box on private
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 #555081 (closed)
Edited by Vanessa Otto