summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2019-07-12 08:16:53 +0000
committerJan Provaznik <jprovaznik@gitlab.com>2019-07-12 08:16:53 +0000
commit0ae208dd9091eabe69e46a75e1ec70961116eb6f (patch)
tree06b8dccfb19965eb3a74c7c1f8dc336c1874c349 /doc
parent2447c9ad3a4065a0f3d4f79aa3e78079d6ea2293 (diff)
parent67030789f5f5eff1d558e04cfbc9bf60316c46f0 (diff)
downloadgitlab-ce-0ae208dd9091eabe69e46a75e1ec70961116eb6f.tar.gz
Merge branch 'graphql-include-authorization-for-mutations' into 'master'
Include AuthorizeResource module for all mutations See merge request gitlab-org/gitlab-ce!30243
Diffstat (limited to 'doc')
-rw-r--r--doc/development/api_graphql_styleguide.md8
1 files changed, 2 insertions, 6 deletions
diff --git a/doc/development/api_graphql_styleguide.md b/doc/development/api_graphql_styleguide.md
index c83a0427c98..7569ccc04c1 100644
--- a/doc/development/api_graphql_styleguide.md
+++ b/doc/development/api_graphql_styleguide.md
@@ -424,12 +424,8 @@ Will generate a field called `mergeRequestSetWip` that
### Authorizing resources
-To authorize resources inside a mutation, we can include the
-`Gitlab::Graphql::Authorize::AuthorizeResource` concern in the
-mutation.
-
-This allows us to provide the required abilities on the mutation like
-this:
+To authorize resources inside a mutation, we first provide the required
+ abilities on the mutation like this:
```ruby
module Mutations