Skip to content
Community forum

Support dashboard that reads across every customer tenant

SolvedSupero SupportSupero team asked

Common question, written up by the Supero team.

Our support staff are tenant_admin in a support tenant we created. GET /api/v1/crud/acme/ticket?tenant=globex still returns only the support tenant's tickets.

Link

1 answer

Accepted answer
Accepted answer

Cross-tenant reads come from the role, not from parameters. tenant_admin, tenant_user and viewer are clamped to their own tenant on every list and query, and the tenant and project parameters can narrow a read but never widen it. developer is clamped the same way, despite its name.

Give support staff a project-level role instead. project_user reads and writes across every tenant in its project without admin actions, which is usually the right fit for support. project_admin also manages tenants and defines schemas. With either role the plain list returns every tenant's tickets, and the tenant parameter narrows it to one customer when you want that.

Keep your customers' own users and API keys on tenant-scoped roles in their own named tenants, so the platform keeps confining them.

Supero Platform teamSupero team answered
Link

Your answer

Support dashboard that reads across every customer tenant | Supero Community