SolutionDeskDocs

Staff vs portal end-user

Two identity stores, two entry paths — never conflated.

SolutionDesk has two distinct audiences. Mixing them up breaks security assumptions (internal notes, restricted tickets, MagicLink sessions).

Team (staff)

WhoEmployees of the SaaS that bought SolutionDesk, plus AI agents acting for the team
IdentityUser (Better-Auth) — email, password, memberships
EntrySign up / log in at the product app
SeesEverything in workspaces they belong to (subject to role)
CanCreate/edit tickets, leave internal notes, configure the workspace, mint API keys

Typical roles on a membership: owner, admin, agent, member.

Portal end-user (e.g. Acme)

WhoA person at a customer company of the host SaaS — e.g. jane@acme.com at Acme Corp
IdentityEndUser, keyed by the host’s externalIdnot a staff login
EntryHost SaaS calls the Integration API → single-use MagicLink → portal session
SeesOnly tickets their company is allowed to see (public / matching restricted)
CanCreate requests, comment on visible tickets, download attachments — never internal notes

Golden rule

End-users never log into SolutionDesk with a password. If someone needs dashboard access, invite them as staff — do not hand them a MagicLink and call them an admin.

Story: Acme files a bug

  1. Jane is logged into your SaaS (not SolutionDesk).
  2. She clicks “Support” → your backend mints a MagicLink for Jane’s EndUser.
  3. Jane lands on the portal board: only Acme’s visible requests.
  4. She creates “Checkout button broken”.
  5. Your agent Alex sees the ticket on the team board, leaves an internal note (“repro on staging”), then replies publicly.
  6. Jane only sees the public reply — never the internal note.

On this page