module Boxart
  class GamePolicy < ApplicationPolicy
    def index?
      allowed?
    end

    def show?
      allowed?
    end

    def update?
      allowed?
    end

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