diff options
author | Jacques Erasmus <jerasmus@gitlab.com> | 2019-05-27 11:23:17 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-05-27 11:23:17 +0300 |
commit | 3c913df28eb390bc2746b05b4911a62b76593d8b (patch) | |
tree | d4df3cce34ea114b6c8ba99ffcccf8e3dd13e735 /app/presenters/clusters | |
parent | 340ea9aa9dfc412bf7c4335a11b81c08e8330655 (diff) |
Add changelog entry
Added a changelog entry for the feature
Diffstat (limited to 'app/presenters/clusters')
-rw-r--r-- | app/presenters/clusters/cluster_presenter.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/presenters/clusters/cluster_presenter.rb b/app/presenters/clusters/cluster_presenter.rb index 33b217c8498..1634d2479a0 100644 --- a/app/presenters/clusters/cluster_presenter.rb +++ b/app/presenters/clusters/cluster_presenter.rb @@ -22,10 +22,6 @@ module Clusters "https://console.cloud.google.com/kubernetes/clusters/details/#{provider.zone}/#{name}" if gcp? end - def can_toggle_cluster? - can?(current_user, :update_cluster, cluster) && created? - end - def can_read_cluster? can?(current_user, :read_cluster, cluster) end |