Class: Spree::PermissionSets::OrderManagement Private

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

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

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

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



4
5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/spree/permission_sets/order_management.rb', line 4

def activate!
  can :display, Spree::ReimbursementType
  can :manage, Spree::Order
  can :manage, Spree::Payment
  can :manage, Spree::Shipment
  can :manage, Spree::Adjustment
  can :manage, Spree::LineItem
  can :manage, Spree::ReturnAuthorization
  can :manage, Spree::CustomerReturn
  can :manage, Spree::OrderCancellations
  can :manage, Spree::Reimbursement
  can :manage, Spree::ReturnItem
  can :manage, Spree::Refund
end