Skip to content

Sanity check for GraphQL authorized?

What does this MR do?

Raise an exception if a developer calls any of the GraphQL authorization methods and an authorize :permission is missing from a mutation class.

Previously authorized? would return true in this situation, which although technically is accurate isn't what a developer is expecting!

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Edited by Luke Duncalfe

Merge request reports