During Code Suggestions Beta, anyone can sign up for code suggestions by ensuring the appropriate settings are enabled and an editor extension is installed.
Delivery
Settings
SA
Instance / IDE
SAAS
Namespace / Personal Preferences / IDE
These settings will remain post GA. We will remove them only after we start AI Add-On enforcement. Self Managed setting removal is in #432283 (closed)
Proposal
Remove SaaS Namespace code suggestion setting and personal preference code suggestions setting from UI. Place removal behind feature flag and enable in coordination with AI-Addon becoming available.
If you are unsure about the correct group, please do not leave the issue without a group label, and refer to
GitLab's shared responsibility functionality guidelines
for more information on how to triage this kind of issue.
@mikolaj_wawrzyniak is there any work being done here to ensure that the code suggestions group setting is no longer taken into account in policy classes?
The endpoint uses object.can?(:access_code_suggestions), which looks at whether the group has disabled code suggestions. Perhaps there is another issue for this work but I didn't see it and I want to make sure we have this merged for %16.9 so it can include the same feature flag check that you added in !140991 (merged)
Thank you for raising this concern @jessieay I took a look into repo, and I agree that a follow up is needed to make sure that groups setting would not leak into add on check logic. I opened !143626 (merged) to address that