-
- Downloads
There was an error fetching the commit references. Please try again later.
Allow projects to use instance level clusters
There are two cluster hierarchies one for the deployment platform and one for controllers. The main difference is that deployment platforms do not check user permissions and only return the first match.
Showing
- app/controllers/admin/clusters_controller.rb 10 additions, 2 deletionsapp/controllers/admin/clusters_controller.rb
- app/models/clusters/cluster.rb 3 additions, 1 deletionapp/models/clusters/cluster.rb
- app/models/clusters/instance.rb 4 additions, 0 deletionsapp/models/clusters/instance.rb
- app/models/concerns/deployment_platform.rb 17 additions, 0 deletionsapp/models/concerns/deployment_platform.rb
- spec/finders/cluster_ancestors_finder_spec.rb 21 additions, 8 deletionsspec/finders/cluster_ancestors_finder_spec.rb
- spec/models/clusters/cluster_spec.rb 9 additions, 0 deletionsspec/models/clusters/cluster_spec.rb
- spec/policies/clusters/instance_policy_spec.rb 2 additions, 0 deletionsspec/policies/clusters/instance_policy_spec.rb
Please register or sign in to comment