Skip to content

Expose missing disable mention value on group API

What does this MR do?

This MR is a follow-up of !20184 (merged) and exposes the mentions_disabled Group setting (introduced in GitLab 12.6) via the group API (/api/v4/groups/:id).

Does this MR meet the acceptance criteria?

Question

  • While the GraphQL API for project exposes almost all project attributes, the group one (app/graphql/types/group_type.rb) is pretty much empty. What is the goal with the group GraphQL API? Shall I also expose the mentions_disabled there?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team

Merge request reports