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
path: root/app/views
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2019-02-08 15:53:35 +0300
committerFilipa Lacerda <filipa@gitlab.com>2019-02-08 15:53:35 +0300
commit6b99848be3b444d015519a9a0b4ac9fa76cdd8e1 (patch)
tree1025523a32a09ebffc527280604f24aae120ee26 /app/views
parentacb939d7e9009b178d29fbcd4b286dadec547acb (diff)
Move permission check of manual actions of deployments
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/environments/index.html.haml1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/views/projects/environments/index.html.haml b/app/views/projects/environments/index.html.haml
index d66de7ab698..99cbbc11acd 100644
--- a/app/views/projects/environments/index.html.haml
+++ b/app/views/projects/environments/index.html.haml
@@ -2,7 +2,6 @@
- page_title _("Environments")
#environments-list-view{ data: { environments_data: environments_list_data,
- "can-create-deployment" => can?(current_user, :create_deployment, @project).to_s,
"can-read-environment" => can?(current_user, :read_environment, @project).to_s,
"can-create-environment" => can?(current_user, :create_environment, @project).to_s,
"new-environment-path" => new_project_environment_path(@project),