Skip to content

Resolve "Add Graphql/AuthorizeType cop to EE namespaced types"

What does this MR do?

GraphQL type classes that exist only in EE and do not prepend existing CE classes are excluded from Rubocop enforcing their use of authorize. This MR will report a rubocop offence if authorize is not used in a GraphQL type defined within EE.

Screenshots

Does this MR meet the acceptance criteria?

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

Mentions #224499 (closed)

Edited by Peter Leitzen

Merge request reports