diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-28 21:09:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-28 21:09:07 +0300 |
commit | 1c8fa70f9d0818e2a82089c8643a6e455bca47fd (patch) | |
tree | f339f97de0425270bdd909e2f4d378927b6e0a18 /app/models/group_deploy_token.rb | |
parent | 736d36d8597d0d1ec1b47644e6d091c3f4a78f45 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/group_deploy_token.rb')
-rw-r--r-- | app/models/group_deploy_token.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/group_deploy_token.rb b/app/models/group_deploy_token.rb index 221a7d768ae..d4ad29ddabb 100644 --- a/app/models/group_deploy_token.rb +++ b/app/models/group_deploy_token.rb @@ -9,7 +9,7 @@ class GroupDeployToken < ApplicationRecord validates :deploy_token_id, uniqueness: { scope: [:group_id] } def has_access_to?(requested_project) - return false unless Feature.enabled?(:allow_group_deploy_token, default: true) + return false unless Feature.enabled?(:allow_group_deploy_token, default_enabled: true) requested_project_group = requested_project&.group return false unless requested_project_group |