Sha256: fce29bf3d31ef3aef3b761f67fdc40b3e30765d56f3d58669b1f094a6f626e75

Contents?: true

Size: 209 Bytes

Versions: 5

Compression:

Stored size: 209 Bytes

Contents

# frozen_string_literal: true

module Spree
  module PermissionSets
    class ReviewDisplay < PermissionSets::Base
      def activate!
        can [:display, :admin], Spree::Review
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solidus_reviews-1.7.0 app/models/spree/permission_sets/review_display.rb
solidus_reviews-1.6.0 app/models/spree/permission_sets/review_display.rb
solidus_reviews-1.5.0 app/models/spree/permission_sets/review_display.rb
solidus_reviews-1.4.1 app/models/spree/permission_sets/review_display.rb
solidus_reviews-1.4.0 app/models/spree/permission_sets/review_display.rb