Sha256: 148593ad313dc09f9d92436f0fe3b39c7b941bfa2c9075e90cb91c474093a6e9

Contents?: true

Size: 246 Bytes

Versions: 48

Compression:

Stored size: 246 Bytes

Contents

# frozen_string_literal: true

module Spree
  module PermissionSets
    class StockManagement < PermissionSets::Base
      def activate!
        can :manage, Spree::StockItem
        can :display, Spree::StockLocation
      end
    end
  end
end

Version data entries

48 entries across 48 versions & 2 rubygems

Version Path
solidus_core-2.10.5 lib/spree/permission_sets/stock_management.rb
solidus_core-2.10.3 lib/spree/permission_sets/stock_management.rb
solidus_core-2.10.2 lib/spree/permission_sets/stock_management.rb
solidus_core-2.9.6 lib/spree/permission_sets/stock_management.rb
solidus_core-2.8.6 lib/spree/permission_sets/stock_management.rb
solidus_core-2.10.1 lib/spree/permission_sets/stock_management.rb
solidus_core-2.9.5 lib/spree/permission_sets/stock_management.rb
solidus_core-2.10.0 lib/spree/permission_sets/stock_management.rb
solidus_core-2.9.4 lib/spree/permission_sets/stock_management.rb
solidus_core-2.6.6 lib/spree/permission_sets/stock_management.rb
solidus_core-2.7.4 lib/spree/permission_sets/stock_management.rb
solidus_core-2.8.5 lib/spree/permission_sets/stock_management.rb
solidus_core-2.9.3 lib/spree/permission_sets/stock_management.rb
solidus_core-2.9.2 lib/spree/permission_sets/stock_management.rb
solidus_core-2.10.0.beta1 lib/spree/permission_sets/stock_management.rb
solidus_core-2.7.3 lib/spree/permission_sets/stock_management.rb
solidus_core-2.6.5 lib/spree/permission_sets/stock_management.rb
solidus_core-2.9.1 lib/spree/permission_sets/stock_management.rb
solidus_core-2.9.0 lib/spree/permission_sets/stock_management.rb
solidus_core-2.9.0.rc.1 lib/spree/permission_sets/stock_management.rb