From 1d5cf129dd668a7c57ecd4643257a8cfd0405373 Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Wed, 6 Mar 2019 10:43:28 +0100 Subject: [PATCH] fixed createDeploy acl --- views/deploys/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/deploys/index.php b/views/deploys/index.php index c5f3a85..8634cb3 100644 --- a/views/deploys/index.php +++ b/views/deploys/index.php @@ -123,7 +123,7 @@ App.ui.notify(App.i18n.get("A deploy is already in progress, please wait until finishes."), "warning"); } else { UIkit.modal.confirm(App.i18n.get("Triggering a new Drone deploy. Are you sure?

Using build: #") + $this.build, function() { - App.callmodule('drone:createDeploy', $this.build).then(function(data) { + App.callmodule('drone:createDeploy', $this.build, 'manage.deploy').then(function(data) { if (!data || !data.result || data.result.error) { if (data && data.result && data.result.error) { App.ui.notify(App.i18n.get(data.result.error), "danger");