Sha256: 7885afcbd48486e0b211e38c84a7abf01c202f47a377a050b102bed3016bbcbc

Contents?: true

Size: 718 Bytes

Versions: 10

Compression:

Stored size: 718 Bytes

Contents

require 'katello/plugin.rb'

Foreman::AccessControl.permission(:view_organizations).actions << [
  'katello/api/v2/organizations/index',
  'katello/api/v2/organizations/show',
  'katello/api/v2/organizations/redhat_provider',
  'katello/api/v2/organizations/download_debug_certificate',
  'katello/api/v2/tasks/index'
]

Foreman::AccessControl.permission(:create_organizations).actions << [
  'katello/api/v2/organizations/create'
]

Foreman::AccessControl.permission(:edit_organizations).actions << [
  'katello/api/v2/organizations/update',
  'katello/api/v2/organizations/autoattach_subscriptions'
]

Foreman::AccessControl.permission(:destroy_organizations).actions << [
  'katello/api/v2/organizations/destroy'
]

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
katello-2.4.5 lib/katello/permissions/organization_permissions.rb
katello-2.4.4 lib/katello/permissions/organization_permissions.rb
katello-2.4.3 lib/katello/permissions/organization_permissions.rb
katello-2.4.2 lib/katello/permissions/organization_permissions.rb
katello-2.4.1 lib/katello/permissions/organization_permissions.rb
katello-2.4.0 lib/katello/permissions/organization_permissions.rb
katello-2.4.0.rc3 lib/katello/permissions/organization_permissions.rb
katello-2.4.0.rc2 lib/katello/permissions/organization_permissions.rb
katello-2.4.0.rc1 lib/katello/permissions/organization_permissions.rb
katello-2.2.2 lib/katello/permissions/organization_permissions.rb