summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrett Walker <bwalker@gitlab.com>2019-09-03 17:04:59 -0500
committerBrett Walker <bwalker@gitlab.com>2019-09-03 17:04:59 -0500
commite09418428e41e018080ae8bb5127675ae0b48e3e (patch)
tree94ff6683429176c914d0ab2eb1b4fd6d2929580f
parent3f4141261d8c5ee5e0063bf4b7455acc07b1e3f2 (diff)
downloadgitlab-ce-62535-upgrade-graphql-gem-to-version-1-8-17.tar.gz
-rw-r--r--lib/gitlab/graphql/authorize/authorize_resource.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/graphql/authorize/authorize_resource.rb b/lib/gitlab/graphql/authorize/authorize_resource.rb
index 3af780ec1ae..6844367454f 100644
--- a/lib/gitlab/graphql/authorize/authorize_resource.rb
+++ b/lib/gitlab/graphql/authorize/authorize_resource.rb
@@ -46,6 +46,7 @@ module Gitlab
# this was named `#authorized?`, however it conflicts with the native
# graphql gem version
# TODO consider adopting the gem's built in authorization system
+ # https://gitlab.com/gitlab-org/gitlab-ee/issues/13984
def authorized_resource?(object)
# Sanity check. We don't want to accidentally allow a developer to authorize
# without first adding permissions to authorize against