summaryrefslogtreecommitdiff
path: root/app/policies/clusters/cluster_policy.rb
blob: d6d590687e230f3bdf12ec16e40a75c92fff912f (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

module Clusters
  class ClusterPolicy < BasePolicy
    alias_method :cluster, :subject

    delegate { cluster.group }
    delegate { cluster.project }
  end
end