module Transactions
  class EntryPolicy < ApplicationPolicy
    def index?
      allowed?
    end

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