diff options
author | Shinya Maeda <shinya@gitlab.com> | 2019-02-08 15:53:35 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2019-02-08 15:53:35 +0300 |
commit | 6b99848be3b444d015519a9a0b4ac9fa76cdd8e1 (patch) | |
tree | 1025523a32a09ebffc527280604f24aae120ee26 /app/helpers | |
parent | acb939d7e9009b178d29fbcd4b286dadec547acb (diff) |
Move permission check of manual actions of deployments
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/environments_helper.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/helpers/environments_helper.rb b/app/helpers/environments_helper.rb index b3935ae350d..365b94f5a3e 100644 --- a/app/helpers/environments_helper.rb +++ b/app/helpers/environments_helper.rb @@ -11,7 +11,6 @@ module EnvironmentsHelper { "endpoint" => folder_project_environments_path(@project, @folder, format: :json), "folder-name" => @folder, - "can-create-deployment" => can?(current_user, :create_deployment, @project).to_s, "can-read-environment" => can?(current_user, :read_environment, @project).to_s } end |