dodil/erp-platform

tests/scenarios/roles.yaml

# The composition's role catalogue: each pool role and the permissions it carries. The same file seeds the
# pool (dodil appid roles set), so a scenario's clerk is exactly as powerful as a real one.
roles:
  clerk:     [orders:order:write, stock:reservation:read]
  manager:   [orders:order:write, orders:order:approve, orders:clock:set, stock:reservation:read, mailer:outbox:read]
  warehouse: [stock:reservation:write, stock:reservation:read]
  viewer:    []
  ticker:    [orders:tick:run]
service_clients: [ticker]