Sha256: ea6448b0f714b03a31b25fb78e07198bda79ea71f57d5fc58b137649ecd60395

Contents?: true

Size: 550 Bytes

Versions: 11

Compression:

Stored size: 550 Bytes

Contents

module Spree
  module PermissionSets
    class ProductManagement < PermissionSets::Base
      def activate!
        can :manage, Spree::Classification
        can :manage, Spree::Image
        can :manage, Spree::OptionType
        can :manage, Spree::OptionValue
        can :manage, Spree::Price
        can :manage, Spree::Product
        can :manage, Spree::ProductProperty
        can :manage, Spree::Property
        can :manage, Spree::Taxon
        can :manage, Spree::Taxonomy
        can :manage, Spree::Variant
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
solidus_core-2.5.2 lib/spree/permission_sets/product_management.rb
solidus_core-2.5.1 lib/spree/permission_sets/product_management.rb
solidus_core-2.5.0 lib/spree/permission_sets/product_management.rb
solidus_core-2.5.0.rc1 lib/spree/permission_sets/product_management.rb
solidus_core-2.5.0.beta2 lib/spree/permission_sets/product_management.rb
solidus_core-2.5.0.beta1 lib/spree/permission_sets/product_management.rb
solidus_core-2.4.2 lib/spree/permission_sets/product_management.rb
solidus_core-2.4.1 lib/spree/permission_sets/product_management.rb
solidus_core-2.4.0 lib/spree/permission_sets/product_management.rb
solidus_core-2.4.0.rc1 lib/spree/permission_sets/product_management.rb
solidus_core-2.4.0.beta1 lib/spree/permission_sets/product_management.rb