diff options
author | Luke Duncalfe <lduncalfe@eml.cc> | 2019-06-26 01:15:14 +0300 |
---|---|---|
committer | Luke Duncalfe <lduncalfe@eml.cc> | 2019-06-26 01:15:14 +0300 |
commit | bbdcbd98aed2bfb4eba008669d3fca500b6e0ace (patch) | |
tree | d79260df3dc7becd70402ca6875b6c44e0d88722 /doc/development | |
parent | b2a615c3c60dd3315ecf33d5fdb61061c9d4003e (diff) |
Remove unused authorized_find method
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/29921#note_184713939
Diffstat (limited to 'doc/development')
-rw-r--r-- | doc/development/api_graphql_styleguide.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/development/api_graphql_styleguide.md b/doc/development/api_graphql_styleguide.md index 2ed2a905db7..aeddad14995 100644 --- a/doc/development/api_graphql_styleguide.md +++ b/doc/development/api_graphql_styleguide.md @@ -447,7 +447,7 @@ want to validate the abilities for. Alternatively, we can add a `find_object` method that will load the object on the mutation. This would allow you to use the -`authorized_find!` and `authorized_find!` helper methods. +`authorized_find!` helper method. When a user is not allowed to perform the action, or an object is not found, we should raise a |