module Ads
  class AutoAdPolicy < ApplicationPolicy
    def edit?
      allowed?
    end

    def update?
      allowed?
    end

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