Skip to content

Feature control for Ai Agents

When checking access for ai agents, we only check in https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/policies/ee/project_policy.rb#L214-214 whether the feature is enabled and the license is correct, but not weather the user has the correct access to the project. We also don't allow setting the project settings of ai agents to private/disabled/public.

To fix this, we need to add feature control for ai agents, similar to how we did for model registry: #412734 (closed)

Steps:

Edited by Eduardo Bonet