dodil/erp-brick-quote

src/brick_quote/roles.yaml

# The default roles this brick ships (erp-platform 0.9.2: a brick decides by PERMISSION; the roles are the customer's).
# From the CRM spec's actors (erp-method modules/crm). A composition maps them to its own pool roles — the pool's
# catalog (`dodil appid roles get <pool> --org <org>`) is the deployed truth; `erp-compose check --roles` reads both.
roles:
  rep:              [quote:quote:draft, quote:quote:decide]
  manager:          [quote:quote:draft, quote:quote:decide, quote:quote:read_all, quote:quote:manage]
  deal_desk:        [quote:quote:approve, quote:discount_policy:write]
  pricing:          [quote:price_book:write]
  pipeline_service: [quote:opportunity:read]               # the pipeline brick: is this deal's quote accepted?
service_clients: [pipeline_service]