Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-07-27 12:37:19 +0300
committerLin Jen-Shin <godfat@godfat.org>2018-07-27 12:52:45 +0300
commitb577faf785a2c04f8376e3dc597dc0d6ec0b753d (patch)
tree3968919ef5dff80b90825182c9701486005b9407 /app/models/deploy_token.rb
parente3aaa56c92f97f8aff3aeb847754794e9eae4706 (diff)
Rename the module and add a simple test to check
if all methods are also presented in the user.
Diffstat (limited to 'app/models/deploy_token.rb')
-rw-r--r--app/models/deploy_token.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/deploy_token.rb b/app/models/deploy_token.rb
index 51029950dda..fdbe95059e5 100644
--- a/app/models/deploy_token.rb
+++ b/app/models/deploy_token.rb
@@ -1,7 +1,7 @@
class DeployToken < ActiveRecord::Base
include Expirable
include TokenAuthenticatable
- include PolicyCheckable
+ include PolicyActor
add_authentication_token_field :token
AVAILABLE_SCOPES = %i(read_repository read_registry).freeze