Sha256: ef5b1dd72cdb03bbac21238226e3c0e8530dd64e014a4f32475c6e97f6f7ec1b

Contents?: true

Size: 218 Bytes

Versions: 16

Compression:

Stored size: 218 Bytes

Contents

# frozen_string_literal: true

module Spree
  module PermissionSets
    class ReportDisplay < PermissionSets::Base
      def activate!
        can [:display, :admin, :sales_total], :reports
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
solidus_reports-1.2.0 app/models/spree/permission_sets/report_display.rb
solidus_reports-1.1.0 app/models/spree/permission_sets/report_display.rb
solidus_reports-1.0.0 app/models/spree/permission_sets/report_display.rb
solidus_core-2.6.6 lib/spree/permission_sets/report_display.rb
solidus_core-2.7.4 lib/spree/permission_sets/report_display.rb
solidus_core-2.7.3 lib/spree/permission_sets/report_display.rb
solidus_core-2.6.5 lib/spree/permission_sets/report_display.rb
solidus_core-2.7.2 lib/spree/permission_sets/report_display.rb
solidus_core-2.6.4 lib/spree/permission_sets/report_display.rb
solidus_core-2.6.3 lib/spree/permission_sets/report_display.rb
solidus_core-2.7.1 lib/spree/permission_sets/report_display.rb
solidus_core-2.6.2 lib/spree/permission_sets/report_display.rb
solidus_core-2.7.0 lib/spree/permission_sets/report_display.rb
solidus_core-2.6.1 lib/spree/permission_sets/report_display.rb
solidus_core-2.6.0 lib/spree/permission_sets/report_display.rb
solidus_core-2.6.0.rc1 lib/spree/permission_sets/report_display.rb