Skip to content

Commit

Permalink
Fixes #24268 - Add permissions to canned admin
Browse files Browse the repository at this point in the history
  • Loading branch information
Ondrej Prazak authored and jturel committed Nov 8, 2018
1 parent 712300a commit 5eb08cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/katello/plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@
Katello::PermissionCreator.new(self).define
add_all_permissions_to_default_roles

add_permissions_to_default_roles 'System admin' => [:create_lifecycle_environments, :create_content_views]

role 'Register hosts', [
:view_hostgroups, :view_activation_keys, :view_hosts,
:create_hosts, :edit_hosts, :destroy_hosts,
Expand Down

0 comments on commit 5eb08cf

Please sign in to comment.