Where users are managed
Users, tenants, and tenant membership are managed in the Darpan admin app, a separate console for platform operators. Only Darpan admins can sign in to it. The Darpan app itself has no user-management screens, and Ask Darpan has no user-management commands. The one access step a user starts in the app is a CLI access request; see CLI access.Access model
Users sign in and work inside one active tenant at a time. A user’s role is set per tenant, so the same person can be a Tenant admin in one tenant and view-only in another. The active tenant is a server-side preference on the account, not a per-tab setting. Switching it in one tab re-points every open tab.Roles
Each tenant membership carries one of four roles:
Connections are NetSuite, Shopify, HotWax, SFTP and database connections. Talking to the agent also needs AI access; see AI access.
Darpan admin is a platform role, not a tenant role. It manages users, tenants, membership, and CLI and AI access across every tenant from the admin app. The exact groups behind it are in Auth and access.
Create a user and grant access
These steps are for Darpan admins. If you are a Tenant Admin, ask a Darpan admin to do them.
1
Create the user
In the admin app, start the create-user flow. It asks for the username, the person’s name, their email, and a temporary password, then confirms before creating.Always give an email. Password resets depend on it.
2
Add the user to a tenant
Start the add-member flow. It asks Which user should join?, Which tenant should they join?, and Which role should they have? Pick one of the four roles above.Darpan emails the user a welcome from
support@drpn.ai: the tenant, their role, their username, where to sign in, and their temporary password. The password is in the welcome only while the user has not set their own, and for 7 days (by default) after you set it. Darpan keeps it encrypted until then and keeps no copy of a welcome that carries it. An account that is disabled or has no email gets no welcome, and the grant still goes through.Repeat for each tenant the user needs.3
Check the user has the password
The welcome carries the temporary password. At first sign-in, Darpan asks the user to choose a new password before it signs them in.A welcome sent more than 7 days after the password was set, or after the user set their own, has no password in it. To send one, choose Reset Password on the user’s page, then Send welcome on the tenant’s page. Users created before Darpan 3.4.0 have no kept password, so they need the same two steps.
Expected result
The user has a welcome email for each tenant, signs in, sets a new password of at least 12 characters, and lands in a tenant they belong to. What they can do there follows the role table above.Changing access
In the admin app, a Darpan admin can:- On the tenant’s page, change a member’s role or Remove them from the tenant. Removing access from one tenant does not affect their other tenants.
- On the user’s page, Reset Password: sets a new temporary password, signs the user out everywhere, and forces a password change at their next sign-in. The next welcome sent to them carries it.
- Disable the account: the user can no longer sign in and is signed out everywhere. Enable reverses it; Reset Password does not, and it leaves a lockout in place too. A Darpan admin cannot disable their own account.
- On the tenant’s page, Send welcome sends one member the welcome email again, and Welcome all sends it to every member, for example after a new tenant’s members were added. A member with no email or a disabled account is named beside the refusal.
- On the user’s page, under Darpan admin, Add or Remove the Darpan admin and Super admin roles. The users list has a Darpan admins only filter. You cannot remove your own Super admin role.
- On the user’s page, under Two-factor, Reset two-factor removes the person’s authenticator app, passkeys and recovery codes and ends their sessions and CLI keys, for someone who lost their phone and has no recovery code. It needs a reason and a code from your own app, and you cannot reset your own.
Require two-factor
Two-factor is optional for every role until you require it. In the admin app, Open Security lists, under Required by role, each role two-factor can be required for (Super admin, Darpan admin, Tenant admin) with how many of its people have it on, and who has not.- Require sets the date it is required from. Before that date, each sign-in asks the person to set it up and lets them skip; from that date, sign-in waits until they have. Change date moves it, and Make optional ends the requirement.
- Each change needs a code from your own authenticator app, so set up your own two-factor first, under Your two-factor.
- Requiring it for Super admins or for everyone needs you to keep a second way back in: a passkey and an authenticator app, or unused recovery codes. Without one, the change is refused, so one lost phone cannot lock you out. Clearing a date is never blocked.
CLI access
The Darpan CLI is off by default and set per user, per tenant. A user asks for it in User settings under CLI sessions: the CLI in <tenant> card has Request access in <tenant>, then reads Requested <date>. A Darpan admin will turn it on. until a Darpan admin approves or declines the request in the admin app. A grant can carry an end date and can be paused or revoked. Darpan admins use the CLI without a grant. Setup steps for the user: Set up the Darpan CLI. Sign-in lengths and limits: Auth and access.AI access
The audit agent answers a user only when it is on for the tenant, the user is a Tenant admin or Company editor there, and that user has AI access there. A Darpan admin grants AI access per user, per tenant, for a period and with a spend limit; access pauses on its own when spend reaches the limit. Darpan admins have AI access in every tenant where the agent is on. See The audit agent and Auth and access.Endpoint access per source configuration
Roles govern what a person may do. Endpoint access governs something different: which endpoints of a connected system a given source configuration is allowed to read at all. A connected system usually exposes several endpoints — orders, returns, and so on. A source configuration holds credentials that may legitimately reach only some of them, and a credential that can read more than the reconciliation needs is a wider blast radius than the job requires. Each source configuration therefore carries an explicit list of enabled endpoints:- The catalog of available endpoints comes from the connector registry, so it reflects what the system actually offers rather than a hand-maintained list.
- The enablement is per configuration. Two configurations for the same system can enable different endpoints.
- Endpoints left out of the list are disabled, including endpoints added to the registry later. A new endpoint is never silently readable by an existing configuration — someone has to enable it.
Darpan reads the current enablement before it will accept a change to it, so a stale panel cannot overwrite a setting someone else just made.