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.3.0.rc3 lib/spree/permission_sets/stock_management.rb
solidus_core-2.3.0.rc2 lib/spree/permission_sets/stock_management.rb
solidus_core-2.3.0.rc1 lib/spree/permission_sets/stock_management.rb
solidus_core-2.3.0.beta1 lib/spree/permission_sets/stock_management.rb
solidus_core-2.0.2 lib/spree/permission_sets/stock_management.rb
solidus_core-1.4.1 lib/spree/permission_sets/stock_management.rb
solidus_core-2.2.1 lib/spree/permission_sets/stock_management.rb
solidus_core-2.2.0 lib/spree/permission_sets/stock_management.rb
solidus_core-2.2.0.rc1 lib/spree/permission_sets/stock_management.rb
solidus_core-2.2.0.beta1 lib/spree/permission_sets/stock_management.rb
solidus_core-2.1.0 lib/spree/permission_sets/stock_management.rb
solidus_core-2.1.0.rc1 lib/spree/permission_sets/stock_management.rb
solidus_core-2.0.1 lib/spree/permission_sets/stock_management.rb
solidus_core-2.1.0.beta1 lib/spree/permission_sets/stock_management.rb
solidus_core-2.0.0 lib/spree/permission_sets/stock_management.rb
solidus_core-1.4.0 lib/spree/permission_sets/stock_management.rb
solidus_core-2.0.0.rc1 lib/spree/permission_sets/stock_management.rb
solidus_core-1.4.0.rc1 lib/spree/permission_sets/stock_management.rb
solidus_core-2.0.0.beta1 lib/spree/permission_sets/stock_management.rb
solidus_core-1.4.0.beta1 lib/spree/permission_sets/stock_management.rb