Class: Spree::PermissionSets::StockManagement

Inherits:
Base
  • Object
show all
Defined in:
lib/spree/permission_sets/stock_management.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Spree::PermissionSets::Base

Instance Method Details

#activate!Object


6
7
8
9
# File 'lib/spree/permission_sets/stock_management.rb', line 6

def activate!
  can :manage, Spree::StockItem
  can :read, Spree::StockLocation
end