We build several client apps, one project per client, all in our domain. One client's operations manager needs to manage users and data in their app. What role should they get?
Client staff need admin access to their app, but not to billing or our other clients
Common question, written up by the Supero team.
1 answer
Make them a project_admin in that client's project. A project_admin manages every tenant in its own project and handles schema management, but can't see other projects in the domain. If they only need to read and edit records across their tenants, without admin actions, use project_user. For someone who looks after one tenant only, use tenant_admin.
Don't give client staff domain_admin. That role owns every project and tenant in the domain, and it's the only role that can change the plan or buy credits and add-ons.
Create the account with POST /api/v1/users/register and the role you chose, or with org.users.add_user(...) in the Python SDK. You can only assign a role that is strictly less privileged than your own, so a domain_admin can create a project_admin, but a project_admin can't create another project_admin.
Your answer
Know the answer? Sign in to post it. It takes an email address and a 6-digit code.
Sign in to answer