Sha256: c6cacd7aa7a0f59a5b31464380a4c028632247533173bc9134480e7bf2c7c918

Contents?: true

Size: 215 Bytes

Versions: 58

Compression:

Stored size: 215 Bytes

Contents

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

58 entries across 58 versions & 1 rubygems

Version Path
solidus_core-2.5.2 lib/spree/permission_sets/stock_management.rb
solidus_core-2.5.1 lib/spree/permission_sets/stock_management.rb
solidus_core-2.5.0 lib/spree/permission_sets/stock_management.rb
solidus_core-2.5.0.rc1 lib/spree/permission_sets/stock_management.rb
solidus_core-2.5.0.beta2 lib/spree/permission_sets/stock_management.rb
solidus_core-2.5.0.beta1 lib/spree/permission_sets/stock_management.rb
solidus_core-2.4.2 lib/spree/permission_sets/stock_management.rb
solidus_core-2.3.1 lib/spree/permission_sets/stock_management.rb
solidus_core-2.4.1 lib/spree/permission_sets/stock_management.rb
solidus_core-2.2.2 lib/spree/permission_sets/stock_management.rb
solidus_core-2.1.1 lib/spree/permission_sets/stock_management.rb
solidus_core-2.0.3 lib/spree/permission_sets/stock_management.rb
solidus_core-1.4.2 lib/spree/permission_sets/stock_management.rb
solidus_core-1.3.2 lib/spree/permission_sets/stock_management.rb
solidus_core-1.2.3 lib/spree/permission_sets/stock_management.rb
solidus_core-1.1.4 lib/spree/permission_sets/stock_management.rb
solidus_core-2.4.0 lib/spree/permission_sets/stock_management.rb
solidus_core-2.4.0.rc1 lib/spree/permission_sets/stock_management.rb
solidus_core-2.4.0.beta1 lib/spree/permission_sets/stock_management.rb
solidus_core-2.3.0 lib/spree/permission_sets/stock_management.rb