Sha256: 9d53ae56ccf3b0cbf5455c467621955a87890226b93bfa67ac400c1dfd3f23b9
Contents?: true
Size: 425 Bytes
Versions: 16
Compression:
Stored size: 425 Bytes
Contents
# frozen_string_literal: true module Spree module PermissionSets # Read-only permissions for stock. # # This permission set allows users to view information about stock items # (also from the admin panel) and stock locations. class StockDisplay < PermissionSets::Base def activate! can [:read, :admin], Spree::StockItem can :read, Spree::StockLocation end end end end
Version data entries
16 entries across 16 versions & 1 rubygems