Sha256: 2131bd40710af245d66d8e79835c6fd1c4bff87746fe7d411dfff0bb9075fdc9

Contents?: true

Size: 343 Bytes

Versions: 46

Compression:

Stored size: 343 Bytes

Contents

require 'katello/plugin.rb'

Foreman::Plugin.find(:katello).security_block :user do
  permission :my_organizations,
             {
               'katello/api/rhsm/candlepin_proxies' => [:list_owners]
             },
             :public => true
end

Foreman::AccessControl.permission(:my_account).actions << [
  'katello/api/v2/tasks/show'
]

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
katello-2.4.1 lib/katello/permissions/user_permissions.rb
katello-2.4.0 lib/katello/permissions/user_permissions.rb
katello-2.4.0.rc3 lib/katello/permissions/user_permissions.rb
katello-2.4.0.rc2 lib/katello/permissions/user_permissions.rb
katello-2.4.0.rc1 lib/katello/permissions/user_permissions.rb
katello-2.2.2 lib/katello/permissions/user_permissions.rb