diff options
author | Luke Duncalfe <lduncalfe@eml.cc> | 2019-07-01 16:44:51 +1200 |
---|---|---|
committer | Luke Duncalfe <lduncalfe@eml.cc> | 2019-07-11 15:08:34 +1200 |
commit | 67030789f5f5eff1d558e04cfbc9bf60316c46f0 (patch) | |
tree | 76a4ca3eccc18e381ddbaf88b89946df1fcc1403 /app/graphql/mutations/notes | |
parent | 056166db0adbc34a8f7d8cf04136ed1ae976c9bb (diff) | |
download | gitlab-ce-67030789f5f5eff1d558e04cfbc9bf60316c46f0.tar.gz |
Include AuthorizeResource module for all mutationsgraphql-include-authorization-for-mutations
This makes our authorization calls available to all GraphQL mutations
without the additional step of including the module first.
Diffstat (limited to 'app/graphql/mutations/notes')
-rw-r--r-- | app/graphql/mutations/notes/base.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/graphql/mutations/notes/base.rb b/app/graphql/mutations/notes/base.rb index a7198f5fba6..31dabc0a660 100644 --- a/app/graphql/mutations/notes/base.rb +++ b/app/graphql/mutations/notes/base.rb @@ -3,8 +3,6 @@ module Mutations module Notes class Base < BaseMutation - include Gitlab::Graphql::Authorize::AuthorizeResource - field :note, Types::Notes::NoteType, null: true, |