Add openai key to namespace settings
What does this MR do and why?
Adds OpenAi Api key for top-level groups.
Screenshots or screen recordings
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Enable the feature flag
Feature.enable(:openai_experimentation) Feature.enable(:openai_key_per_toplevel_group, group)
- Visit the edit group section in admin panel.
- If group has proper license, key can be added. Only top-level groups can have openai keys.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
relates to https://gitlab.com/gitlab-org/gitlab/-/issues/404752
Edited by Gosia Ksionek