Skip to content

Use `duo_features_enabled` setting

Jessie Young requested to merge jy-unified-ai-setting-db-and-validations into master

What does this MR do and why?

  • Can be set on a project to block code suggestions
  • Later on, we will expand our settings so that groups and subgroups can also block Duo features. The discussion about what that will look like is happening in Enterprise control for AI: Allow owners to cont... (&12404)
  • This will not take effect until we enable the purchase_code_suggestions feature flag because until then the group setting for code_suggestions + Ultimate license enableds access.
  • After whereas after that flag is enabled, access will be determined by whether the user has a licensed seat. See !138334 (merged)
  • &12404 (comment 1748487091)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Jessie Young

Merge request reports