1
0

preview_card_provider_policy.rb 195 B

1234567891011
  1. # frozen_string_literal: true
  2. class PreviewCardProviderPolicy < ApplicationPolicy
  3. def index?
  4. role.can?(:manage_taxonomies)
  5. end
  6. def review?
  7. role.can?(:manage_taxonomies)
  8. end
  9. end