Class: Spree::PermissionSets::ConfigurationManagement
- Defined in:
- lib/spree/permission_sets/configuration_management.rb
Overview
Read and write permissions for e-commerce settings.
Roles with this permission set will have full control over:
-
Tax categories
-
Tax rates
-
Zones
-
Countries
-
States
-
Payment methods
-
Taxonomies
-
Shipping methods
-
Shipping categories
-
Stock locations
-
Stock movements
-
Refund reasons
-
Reimbursement types
-
Return reasons
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Spree::PermissionSets::Base
Instance Method Details
#activate! ⇒ Object
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/spree/permission_sets/configuration_management.rb', line 24 def activate! can :manage, Spree::TaxCategory can :manage, Spree::TaxRate can :manage, Spree::Zone can :manage, Spree::Country can :manage, Spree::State can :manage, Spree::PaymentMethod can :manage, Spree::Taxonomy can :manage, Spree::ShippingMethod can :manage, Spree::ShippingCategory can :manage, Spree::StockLocation can :manage, Spree::StockMovement can :manage, Spree::RefundReason can :manage, Spree::ReimbursementType can :manage, Spree::ReturnReason end |