Sha256: 65de6933e4d7272bae417831e1159f895ca102f06d9f6cd06f4a46192f05f2d5

Contents?: true

Size: 770 Bytes

Versions: 114

Compression:

Stored size: 770 Bytes

Contents

# frozen_string_literal: true

module Spree
  module PermissionSets
    class ConfigurationManagement < PermissionSets::Base
      def activate!
        can :manage, :general_settings
        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

114 entries across 114 versions & 2 rubygems

Version Path
solidus_core-4.0.4 lib/spree/permission_sets/configuration_management.rb
solidus_core-3.4.6 lib/spree/permission_sets/configuration_management.rb
solidus_core-4.0.3 lib/spree/permission_sets/configuration_management.rb
solidus_core-3.4.5 lib/spree/permission_sets/configuration_management.rb
solidus_core-4.0.2 lib/spree/permission_sets/configuration_management.rb
solidus_core-3.4.4 lib/spree/permission_sets/configuration_management.rb
solidus_core-3.3.4 lib/spree/permission_sets/configuration_management.rb
solidus_core-3.2.9 lib/spree/permission_sets/configuration_management.rb
solidus_core-3.2.8 lib/spree/permission_sets/configuration_management.rb
solidus_core-3.3.3 lib/spree/permission_sets/configuration_management.rb
solidus_core-3.4.3 lib/spree/permission_sets/configuration_management.rb
solidus_core-4.0.1 lib/spree/permission_sets/configuration_management.rb
solidus_core-4.0.0 lib/spree/permission_sets/configuration_management.rb
solidus_core-3.4.2 lib/spree/permission_sets/configuration_management.rb
solidus_core-3.2.7 lib/spree/permission_sets/configuration_management.rb
solidus_core-3.3.2 lib/spree/permission_sets/configuration_management.rb
solidus_core-3.4.1 lib/spree/permission_sets/configuration_management.rb
solidus_core-3.4.0 lib/spree/permission_sets/configuration_management.rb
solidus_core-3.3.1 lib/spree/permission_sets/configuration_management.rb
solidus_core-3.2.6 lib/spree/permission_sets/configuration_management.rb