about summary refs log tree commit diff
path: root/app/policies/follow_recommendation_policy.rb
blob: 9245733ea81e405aa38b3381e868fc32b223063c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class FollowRecommendationPolicy < ApplicationPolicy
  def show?
    role.can?(:manage_taxonomies)
  end

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

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