Sha256: 7d9811104b39b947ab0c7b7ab3f785e475fb9f652b337ce664bb13cdb0d054cd
Contents?: true
Size: 1.15 KB
Versions: 17
Compression:
Stored size: 1.15 KB
Contents
# frozen_string_literal: true module Spree module PermissionSets # 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 class ConfigurationManagement < PermissionSets::Base 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 end end end
Version data entries
17 entries across 17 versions & 1 rubygems