Commit d8dd7147 authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Cluster can be read only by master

parent e2d143824925
......@@ -164,7 +164,6 @@ def self.create_read_update_admin(name)
enable :create_pipeline
enable :update_pipeline
enable :create_pipeline_schedule
enable :read_cluster
enable :create_merge_request
enable :create_wiki
enable :push_code
......@@ -189,12 +188,13 @@ def self.create_read_update_admin(name)
enable :admin_build
enable :admin_container_image
enable :admin_pipeline
enable :create_cluster
enable :admin_environment
enable :admin_deployment
enable :admin_pages
enable :read_pages
enable :update_pages
enable :read_cluster
enable :create_cluster
end
rule { can?(:public_user_access) }.policy do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment