Before you go live, check access rules for every schema. A role with no policy for an entity gets full access to it; viewer gets read-only. What we check in go-live reviews:
- Rules for each role that shouldn't have full access.
- Owner scoping where users should only see their own rows, with
filter_fieldplusfilter_match(for example$user.uuid). readonly_fieldson status, price and payment fields, andhidden_fieldsfor anything that shouldn't come back in reads.- Namespace-qualified entity names in rules (
billing:invoice), so a name that exists in two namespaces is never ambiguous. - A test as each role.
GET /api/v1/crud/{domain}/access-policy/meshows what the signed-in user gets.
tenant_admin is subject to policies too.