Sha256: e28d38c31755760d908672c9b7d3b3adb500f2cc961ded06d79f9f418b97041c
Contents?: true
Size: 607 Bytes
Versions: 48
Compression:
Stored size: 607 Bytes
Contents
# frozen_string_literal: true module Spree module PermissionSets class ProductDisplay < PermissionSets::Base def activate! can [:display, :admin, :edit], Spree::Product can [:display, :admin], Spree::Image can [:display, :admin], Spree::Variant can [:display, :admin], Spree::OptionValue can [:display, :admin], Spree::ProductProperty can [:display, :admin], Spree::OptionType can [:display, :admin], Spree::Property can [:display, :admin], Spree::Taxonomy can [:display, :admin], Spree::Taxon end end end end
Version data entries
48 entries across 48 versions & 2 rubygems