about summary refs log tree commit diff
path: root/app/policies/preview_card_policy.rb
blob: a7bb41634d9d1b8d9b075e56d49b00199f105f5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class PreviewCardPolicy < ApplicationPolicy
  def index?
    role.can?(:manage_taxonomies)
  end

  def review?
    role.can?(:manage_taxonomies)
  end
end