module UserRewards
  class BitsBadgeTierPolicy < ApplicationPolicy
    def index?
      allowed?
    end

    def grant_unlocked_rewards?
      allowed?
    end

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