dodil/erp-brick-payments
DODIL ERP brick: payments
tests/scenarios/roles.yaml
# The scenarios' role catalogue: the brick's default roles (src/brick_payments/roles.yaml - tests/test_scenarios.py keeps them
# equal) plus two roles the scenarios need: whoever keeps the partner register (so a scenario can make the customer), and the
# cashier PAY-13 speaks of - one who holds pay:settings:write but, being the person controlled, not pay:settings:controls.
roles:
cashier:
- pay:receipt:read
- pay:receipt:write
- pay:receipt:import
- pay:allocation:write
- pay:refund:request
- pay:statement_line:reconcile
- pay:remittance:import
- pay:mandate:write
- pay:dd_run:write
- pay:cash_journal:write
- pay:deposit_batch:write
- pay:payout:export
collector:
- pay:receipt:read
- pay:collection:write
- pay:collection_event:write
- pay:reminder:send
- pay:statement:write
approver:
- pay:receipt:read
- pay:refund:approve
- pay:credit:write
- pay:credit:read
- pay:settings:write
- pay:settings:controls
- pay:migration:sign
- pay:bank_account:write
- pay:reconciliation_rule:write
- pay:dd_run:approve
- pay:cash_journal:approve
- pay:forecast:read
- pay:payout:approve
sales:
- pay:credit:read
system:
- pay:receipt:read
- pay:receipt:ingest
- pay:receipt:match
- pay:collection:tick
- pay:allocation:from_source
- pay:migration:import
- pay:statement:ingest
- pay:statement_line:suggest
- pay:dd:collect
- pay:bank_account:read_unmasked
- pay:deposit_batch:intake
- pay:card_settlement:intake
- pay:payout:intake
partner_steward:
- bp:partner:write
cashier_admin:
- pay:receipt:read
- pay:receipt:write
- pay:receipt:import
- pay:allocation:write
- pay:refund:request
- pay:settings:write
service_clients: [system]