{"id":1024,"url":"https://forum.supero.dev/t/access-rules-to-set-before-going-live-1024","title":"Access rules to set before going live","type":"tip","status":"open","category":{"slug":"auth-access","name":"Auth, Users & Access"},"tags":["access-policies","rbac"],"author":{"handle":"supero-platform","name":"Supero Platform team","team":true},"created":"2026-12-03T08:38:05.035Z","updated":"2026-12-03T08:38:05.035Z","upvotes":0,"error_text":null,"environment":{"client":null,"sdk_version":null,"deploy_target":null},"body_markdown":"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:\n\n1. Rules for each role that shouldn't have full access.\n2. Owner scoping where users should only see their own rows, with `filter_field` plus `filter_match` (for example `$user.uuid`).\n3. `readonly_fields` on status, price and payment fields, and `hidden_fields` for anything that shouldn't come back in reads.\n4. Namespace-qualified entity names in rules (`billing:invoice`), so a name that exists in two namespaces is never ambiguous.\n5. A test as each role. `GET /api/v1/crud/{domain}/access-policy/me` shows what the signed-in user gets.\n\ntenant_admin is subject to policies too.","answers":[],"licence":"CC BY-SA 4.0 (code: MIT-0)"}