Module: Eco::API::UseCases::GraphQL::Helpers::Contractors::Base::ManagerSettings
- Includes:
- Base
- Defined in:
- lib/eco/api/usecases/graphql/helpers/contractors/base/manager_settings.rb
Overview
NATIVE contractor write helper — updateContractorManagerSettings.
Drives the gem's Builder::ContractorEntity#update_manager_settings to set the
organisation's contractor-manager auto-approval settings and whether contractor admins
may add other admins.
Guards (aligned with the repo's write discipline):
- dry-run / simulate: when
simulate?(ordry_run:is passed), NO mutation is sent; the intended input is logged and returned so callers can inspect it. - -no-email: honoured — when email is suppressed (
options.dig(:workflow, :no_email)or an explicitno_email:), the helper does not emit its own success notification. The server-side mutation itself sends no member email for this settings change.