Sha256: 397357a552377fb4b8616fb726cdc45a8960f309cbb13b963ff7d19fa0f59fd6

Contents?: true

Size: 410 Bytes

Versions: 135

Compression:

Stored size: 410 Bytes

Contents

module Katello
  module Authorization::SyncPlan
    extend ActiveSupport::Concern

    include Authorizable

    def readable?
      authorized?(:view_sync_plans)
    end

    def editable?
      authorized?(:edit_sync_plans)
    end

    def deletable?
      authorized?(:destroy_sync_plans)
    end

    module ClassMethods
      def readable
        authorized(:view_sync_plans)
      end
    end
  end
end

Version data entries

135 entries across 135 versions & 1 rubygems

Version Path
katello-3.17.3 app/models/katello/authorization/sync_plan.rb
katello-3.17.2 app/models/katello/authorization/sync_plan.rb
katello-3.17.1 app/models/katello/authorization/sync_plan.rb
katello-3.16.2 app/models/katello/authorization/sync_plan.rb
katello-3.17.0 app/models/katello/authorization/sync_plan.rb
katello-3.17.0.rc2.2 app/models/katello/authorization/sync_plan.rb
katello-3.17.0.rc2.1 app/models/katello/authorization/sync_plan.rb
katello-3.16.1.2 app/models/katello/authorization/sync_plan.rb
katello-3.16.1.1 app/models/katello/authorization/sync_plan.rb
katello-3.17.0.rc2 app/models/katello/authorization/sync_plan.rb
katello-3.16.1 app/models/katello/authorization/sync_plan.rb
katello-3.17.0.rc1 app/models/katello/authorization/sync_plan.rb
katello-3.16.0 app/models/katello/authorization/sync_plan.rb
katello-3.16.0.rc5.1 app/models/katello/authorization/sync_plan.rb
katello-3.16.0.rc5 app/models/katello/authorization/sync_plan.rb
katello-3.16.0.rc4.1 app/models/katello/authorization/sync_plan.rb
katello-3.15.3.1 app/models/katello/authorization/sync_plan.rb
katello-3.15.3 app/models/katello/authorization/sync_plan.rb
katello-3.16.0.rc4 app/models/katello/authorization/sync_plan.rb
katello-3.16.0.rc3.1 app/models/katello/authorization/sync_plan.rb