about summary refs log blame commit diff
path: root/app/policies/follow_recommendation_policy.rb
blob: 9245733ea81e405aa38b3381e868fc32b223063c (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                    
                                 

               
                                 

                 
                                 
     
# 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