summaryrefslogtreecommitdiff
path: root/app/services
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2016-06-03 16:35:34 +0000
committerRobert Speicher <robert@gitlab.com>2016-06-03 16:35:34 +0000
commit8e7e3be5a1c1184a7a60145420eb9733396f9dee (patch)
treea2028c9e28ee1bee4c85f02f1e790e591f408b1d /app/services
parent9440ac669ff1fcb37404094cd73e2e038c141ae0 (diff)
parente052daa08adecf74d6ac85c7a8bf6cb7743b8d93 (diff)
downloadgitlab-ce-8e7e3be5a1c1184a7a60145420eb9733396f9dee.tar.gz
Merge branch 'rubocop/enable-empty-lines-around-access-modifier-cop' into 'master'
Enable Style/EmptyLinesAroundAccessModifier rubocop cop Keep blank lines around access modifiers. See #17478 See merge request !4452
Diffstat (limited to 'app/services')
-rw-r--r--app/services/oauth2/access_token_validation_service.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/oauth2/access_token_validation_service.rb b/app/services/oauth2/access_token_validation_service.rb
index 6194f6ce91e..264fdccde8f 100644
--- a/app/services/oauth2/access_token_validation_service.rb
+++ b/app/services/oauth2/access_token_validation_service.rb
@@ -22,6 +22,7 @@ module Oauth2::AccessTokenValidationService
end
protected
+
# True if the token's scope is a superset of required scopes,
# or the required scopes is empty.
def sufficient_scope?(token, scopes)