Skip to content

[Ban AI] Add REST and GraphQL mutations/resources to update/read `duo_features_enabled`

Context

Definition of done

  • GraphQL mutations are available to update the values of duo_features_enabled and lock_duo_features_enabled for a group (namespace_settings)
  • API endpoints can be used to update the values of duo_features_enabled and lock_duo_features_enabled for a group (namespace_settings) or entire GitLab instance (application_settings)
  • Only an instance or group admin can update this setting
  • Also should be able to read these values a via GraphQL query, perhaps on an existing _type, which is what we did for projects (added to Types::ProjectType)
  • GitLab Duo documentation should link to this GraphQL documentation so that customers know how to update these attributes via the API.
Edited by Alejandro Rodríguez