Sha256: c39e4d44c39c7a8ac050897fa3165b0a0fddf6679246857a172a2b819f634278

Contents?: true

Size: 255 Bytes

Versions: 12

Compression:

Stored size: 255 Bytes

Contents

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
solidus_core-1.0.7 app/models/spree/permission_sets/stock_management.rb
solidus_core-1.0.6 app/models/spree/permission_sets/stock_management.rb
solidus_core-1.0.5 app/models/spree/permission_sets/stock_management.rb
solidus_core-1.0.4 app/models/spree/permission_sets/stock_management.rb
solidus_core-1.0.3 app/models/spree/permission_sets/stock_management.rb
solidus_core-1.0.2 app/models/spree/permission_sets/stock_management.rb
solidus_core-1.0.1 app/models/spree/permission_sets/stock_management.rb
solidus_core-1.0.0 app/models/spree/permission_sets/stock_management.rb
solidus_core-1.0.0.rc2 app/models/spree/permission_sets/stock_management.rb
solidus_core-1.0.0.rc1 app/models/spree/permission_sets/stock_management.rb
solidus_core-1.0.0.pre3 app/models/spree/permission_sets/stock_management.rb
solidus_core-1.0.0.pre2 app/models/spree/permission_sets/stock_management.rb