module Dmca
  class TakedownPolicy < ApplicationPolicy
    def takedowns_received?
      allowed?
    end

    def takedowns_issued?
      allowed?
    end

    def allowed?
      user.permitted? BeefCake::Permission.for(:dmca_takedowns)
    end
  end
end
