Add Graphql/AuthorizeType cop to EE namespaced types

What is the GitLab engineering productivity problem to solve?

Unlike CE GraphQL types, EE-only GraphQL types do not have RuboCop enforce the use of authorize. This could cause two problems:

  1. Engineers accidentaly commiting GraphQL types that are not properly authorized for EE-only features.
  2. Reviewers and maintainers spending time raising these issues when it should be automated.

Problem identification checklist

  • The root cause of the problem is identified.
  • The surface of the problem is as small as possible.

What are the potential solutions?

Update the applicable cop to

  • All potential solutions are listed.

Verify that the solution has improved the situation

  • The solution improved the situation.
    • If yes, check this box and close the issue. Well done! 🎉
    • Otherwise, create a new "Productivity Improvement" issue. You can re-use the description from this issue, but obviously another solution should be chosen this time.