Skip to content

Restrict Self-Managed Code Suggestions to paid tiers

What does this MR do and why?

Context: https://gitlab.com/gitlab-org/gitlab/-/issues/434686. Epic: https://gitlab.com/groups/gitlab-org/-/epics/11996.

Add a restriction to code_suggestions_helper.rb that ensures self-managed instances have a paid license before allowing them to access Code Suggestions in the Admin area.

Screenshots or screen recordings

No visual changes.

How to set up and validate locally

CI pipeline should continue to pass

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Mohamed Moustafa

Merge request reports