Roles say what a person may do everywhere. Real companies need more: a sales rep should see their own customers' orders but not the whole order book, a branch clerk only their warehouse, and nobody outside purchasing the cost price on a PO. Signing authority is rarely one amount either; a policy usually reads "up to Rp 50 million the purchasing head, up to Rp 500 million the plant manager, above that the director", sometimes with two signatures in one step.
This article shows how Voltrus enforces both: access rules on records and fields, and approval chains by amount. Both build on the roles and controls in Internal controls and segregation of duties.
Who sees which records and fields
Roles decide what someone may do; access rules decide which records and which fields. In Settings → Access & integrations → Record and field access, an admin:
- Names roles such as
sales_reporbranch_sbyand puts people in them. Three come built in:ops,viewer, andagent(every AI agent, the Assistant and agent tokens, on top of the roles of the person they belong to). - Assigns values to people per dimension: their warehouses, cost centres, customers or salesperson name.
- Writes rules per role or person and entity.
A record rule grants a slice of an entity. Its conditions must all hold, and a person with several rules sees what any of them grants:
| Condition | Example |
|---|---|
| a field equals a value | warehouse_id equals WH-SBY |
| a field is one of the person's assigned values | cost_center_id is one of their cost_center values |
| the record belongs to the person | salesperson (or created_by) is the person |
A rule can limit what people see, what they change, or both. A sales rep with "own orders" on sales orders sees only their orders in lists, searches, reports built in Queries, dashboards, printed documents, the Assistant and agents' MCP reads; another rep's order reads as not found. They cannot edit, confirm or cancel it, and they cannot create an order for someone else or hand theirs over. An empty field matches nothing: an order without a salesperson is invisible to a rep with that rule.
A field rule hides a field or makes it read-only. Hide unit_cost on items and lines.unit_cost on purchase orders from the receiving clerk; make credit_limit read-only for sales reps. Hidden fields are left out of every answer and read as empty in saved queries; nobody can filter or sort by them, and editing a purchase order's quantities keeps the price they never saw.
A person with no rule sees everything their role allows, exactly as before, and admins are never limited. Rules do not change what the company's validation rules check, costing, MRP or the finance reports (trial balance, aging), which stay company-wide; give those to people who should see the whole company.
Approval chains by amount
One approval limit per document is enough for a small company. When policy reads "purchasing head up to Rp 50 million, plant manager up to Rp 500 million, director above", use the approval matrix in Settings → Inventory & trading → Approval matrix. For purchase orders, supplier bills, payments and sales orders, each row names a step, an approver (a role or a person), an amount band in IDR and optionally a condition on the document (cost_center_id equals CC-PRJ). The rows that apply to a document, in step order, are its chain:
| PO value | Chain |
|---|---|
| Rp 10 million | Purchasing head |
| Rp 300 million | Purchasing head, then plant manager |
| Rp 800 million | Purchasing head, then plant manager, then director |
Rows with the same step number are parallel: finance and the plant manager both approve before the director sees it. Each person fills one step of a chain. When the person who could decide the first step proposes, their step counts, unless the company never allows self-approval.
The proposal shows Step 2 of 3, waiting for plant manager in the Approval inbox, and every decision is recorded with its time and note in the audit timeline and on the document (Approval chain in the record panel). A rejection on any step ends the chain. While an approver is on leave, a delegation lets a named person decide their steps for set dates; the decision records both names.
A document type with no matrix row keeps its single approval limit. Once it has rows, the matrix decides, and admins are bound by it like everyone else unless a row names the admin role.
A worked example
A manufacturer with branches in Surabaya and Semarang and five sales reps sets up:
| Who | Roles and values | Rules |
|---|---|---|
| Sales reps | sales_rep; salesperson name on their app user | Sales orders and quotations: salesperson is the person. Customers: salesperson is the person. Items: unit_cost hidden. |
| Surabaya warehouse clerk | branch; warehouse WH-SBY | Delivery orders and stock counts: warehouse_id is one of their warehouses, for read and write. Purchase orders: lines.unit_cost hidden. |
| Sales manager | ops only | No rule: sees every order. |
| Purchasing head, plant manager, director | purchasing_head, plant_manager, director | Approval matrix for purchase orders as in the table above. |
Rina, a rep, opens Sales orders and sees her 40 orders, not the company's 600. The receiving clerk records a receipt without ever seeing what the company paid. A Rp 300 million PO waits for the purchasing head, then the plant manager, and the audit timeline shows both names.
Checklist
- Write down who should see which records (by branch, warehouse, cost centre, customer or salesperson) and which fields are confidential (cost, margin, credit limits).
- Create the roles, assign people their values, and write one rule at a time.
- Test every rule signed in as a person who holds it: lists, a document they should not open, a saved query.
- Turn your signing-authority table into approval matrix rows, lowest band first.
- Before someone goes on leave, set a delegation for their dates.
- Review rules, roles and delegations in the quarterly access review.