mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-01 16:04:19 +00:00

Instance level clusters were already mostly supported, this change adds admin area controllers for cluster CRUD
12 lines
227 B
Ruby
12 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
|