Commit f9164243 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix HAML permission check for ability to update clusters

parent e8e2a210
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
= s_('ClusterIntegration|Save changes') = 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 .form_group
%label %label
= s_('ClusterIntegration|Google container engine') = s_('ClusterIntegration|Google container engine')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment