Add duo_features_enabled cascading setting
What does this MR do and why?
-
duo_features_enabled
was already an attribute on theproject_settings
table - This MR uses the cascading settings framework to add this attribute to
the
namespace_settings
table as well: https://docs.gitlab.com/ee/development/cascading_settings.html - Other cascading settings assume that projects inherit the setting
value from their parent group. For this setting, we want each project
to be able to have a distinct setting value that may be different from
its parent group. To do this, a new
CascadingProjectSettingAttribute
module was added that has very similar functionality to theCascadingNamespaceSettingsAttribute
module. - THis MR adds the cascading setting and behavior but the setting will not affect Duo Chat or Code Suggestions settings until a follow-on MR.
- #441481 (closed)
- This setting will apply to GitLab Duo Pro add-on features, which are available to Premium and Ultimate only, which is why the changes are EE only
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.