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

    def update?
      allowed?
    end

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