diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-10-03 23:25:03 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-10-03 23:25:03 +0200 |
commit | f916424381c1e56f7975af488dc404051a827144 (patch) | |
tree | e1b5e2fc67c36965fc8d0830a25389fa8a7f984c /app | |
parent | e8e2a2103a806873f338da4b1de21a3df9c65502 (diff) | |
download | gitlab-ce-f916424381c1e56f7975af488dc404051a827144.tar.gz |
Fix HAML permission check for ability to update clusters
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/clusters/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/clusters/show.html.haml b/app/views/projects/clusters/show.html.haml index ec1eabe5c57..3643ba40ee7 100644 --- a/app/views/projects/clusters/show.html.haml +++ b/app/views/projects/clusters/show.html.haml @@ -29,7 +29,7 @@ = s_('ClusterIntegration|Save changes') - - if can?(current_user, :update_cluster, @cluster) && @cluster.scheduled? || @cluster.creating? + - if can?(current_user, :update_cluster, @cluster) && @cluster.on_creation? .form_group %label = s_('ClusterIntegration|Google container engine') |