Skip to content

Users & access

Managing who can sign in, what they can do, and which portfolios they can see. This is an admin screen, under administration. Operators manage the members of a portfolio they created (see Sharing a portfolio), but only admins invite people and manage user accounts.

Who does what: your dalu account and dalubank

People sign in to dalubank with their dalu account (id.dalubank.app), a separate service shared by every dalu tool (see Signing in). The work is split:

Kept at the dalu account Kept in dalubank
the password, setting it and resetting it the user's role
two-factor and recovery codes which portfolios they can see
the invite mail with its set-password link their dalubank sessions
blocking repeated failed sign-ins deactivating their access
their read-only API keys
the audit log

dalubank never sees a password, so there's no password field, reset link or login lockout in dalubank to manage. Someone who forgot their password asks for a reset link at id.dalubank.app/forgot. Someone who lost their authenticator signs in with a recovery code, or asks the dalu account's admin to reset their two-factor.

The two levers

dalubank separates what a user can do from what data they can see:

  • Role: one role per user, controlling actions, in every portfolio they can see:

    Role Can do
    Viewer Read the portfolios shared with them.
    Operator Everything a viewer can, plus manage accounts, manual holdings, runs and NAV closes, and edit a portfolio's settings.
    Admin Everything an operator can, plus invite people, manage users, create and deactivate portfolios, and change the install's settings.
  • Portfolio access: which portfolios a user can see. A viewer or operator sees only the portfolios granted to them (an operator also sees any portfolio they created). Admins can open every portfolio. Whatever the role, every screen shows one portfolio at a time.

Inviting people

There's no public sign-up, and only admins invite. Inviting creates the person's dalu account (or finds the one they already have), and the dalu account mails them a link to set their password. dalubank never sees that link.

From an access request

People ask to join through the request access form on the landing page. Their requests wait under administration › access requests (the tab shows how many are pending):

  • invite… asks for a name for a new portfolio (the e-mail's local part by default). create portfolio and invite then creates that portfolio, invites the requester as its operator and removes the request, all in one step. If the invite fails, nothing is created.
  • remove deletes a request without inviting. Use it, too, when someone asks by mail for their request to be deleted.
  • The invited tab lists the portfolios created from a request, with their wallets and whether each operator has linked their own RPC key.

A request nobody acts on is deleted after six months.

From the users screen

Under administration › users, + new user invites someone directly: their e-mail, an optional name, a role, and optionally the portfolios they get straight away.

What the invite tells you

  • Mailed: a new dalu account was created and the set-password mail went out. The link works once and expires (72 hours unless the service is set otherwise).
  • Already has a dalu account: the person uses another dalu tool, so there's no password to set. They can sign in now, and dalubank mails them that they've been given access.
  • Created, no mail: the dalu account service can't send mail. Its admin issues the set-password link and hands it over.

Until someone signs in for the first time, their row on the users screen says invited · not signed in yet and offers resend invite, at most once every ten minutes. An expired link is fixed the same way.

Changing a role, access or deactivating

Each row on administration › users has:

  • the role select: viewer, operator or admin. Granting admin happens only here.
  • portfolios (not shown for admins, who see everything): switch between viewer and operator, and tick or untick every portfolio, in one save. The person gets one "access granted" mail per save that adds a portfolio; removing access or changing a role sends none. A portfolio an operator created shows as owner: they see it without a grant.
  • deactivate / activate.

What deactivating does

Deactivating ends the person's dalubank access at once: every session is signed out and their API keys stop working. Their history stays, and so does their dalu account, which they can still use for other dalu tools. If their dalu account itself is switched off, dalubank deactivates them too, at once. Switching the dalu account back on doesn't reactivate them here: an admin decides. You can't deactivate your own account.

Sharing a portfolio with a user

A portfolio's members are listed in its access panel: for an operator under operations › manage › portfolio, for an admin also under administration › portfolios › manage access. The admin, or the operator who created the portfolio, can:

  • change a member's role between viewer and operator. The role is the person's own, so it applies in every portfolio they can see, not just this one; dalubank asks you to confirm.
  • revoke a member's access to this portfolio.

Adding someone to a portfolio is an invite, so it's admin-only: an admin invites them from the panel's invite someone form, or grants an existing user the portfolio from their portfolios action on the users screen. Granting admin is never available from the panel.

API keys

Every user can create read-only API keys for the external API under settings › account › api keys. A key reads one portfolio, never more than its owner can see, and stops working when its owner is deactivated. Admins see and revoke every key under administration › api keys; see API key governance.

The audit log

When auditing is enabled, dalubank records a row for every change-making request: who did it, what, and when. Sign-ins and account links are always recorded. Admins browse the log under administration › audit to review sensitive actions after the fact.

Sessions

  • A dalubank session lasts up to 12 hours and renews silently while the person is still signed in to their dalu account.
  • Signing out ends both. Signing out of dalubank also signs the person out of their dalu account, and signing out there, changing the password or having it reset ends their dalubank sessions too.
  • Users can revoke their own sessions. Anyone can see and sign out their dalubank sessions from settings › account › your sessions (see Signing in).
  • Deactivation is immediate. Deactivating a user revokes all their sessions at once: use it if an account is compromised, and ask the dalu account's admin to lock the dalu account as well.