733da6d6a0
Instance level clusters were already mostly supported, this change adds admin area controllers for cluster CRUD
11 lines
227 B
Ruby
11 lines
227 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Clusters
|
|
class ClusterPolicy < BasePolicy
|
|
alias_method :cluster, :subject
|
|
|
|
delegate { cluster.group }
|
|
delegate { cluster.project }
|
|
delegate { cluster.instance }
|
|
end
|
|
end
|