Quick answer
Good B2B SaaS roles and permissions UX makes three things clear: which organisation the user is acting in, what they are allowed to do, and how they can recover when access is missing. Start with the tenant and membership model, define capabilities for each role, then design workspace switching, invites, role management and restricted states. The interface explains permission decisions; engineering must enforce them on every protected request.
Why do multi-tenant SaaS permissions become a UX problem?
An early SaaS product may start with one owner and a few members. As enterprise customers arrive, the same person may manage several organisations, invite colleagues with different access and work with external reviewers. The original “Admin/Member” model no longer explains every task.
For a B2B product, one person may belong to multiple workspaces with different permissions. WorkOS explains how multi-tenant access models change permission design. The UX consequence is important: a person’s identity is not the same as their membership in each tenant.
The key UX failure is ambiguity. A user may think they are changing one company's records while the interface is showing another. Or support gives someone broad admin privileges because the correct role is unclear.
Define the tenant model before designing the switcher
A tenant is the organisational or account boundary for data and access in a multi-tenant product. A user identity may hold memberships in several tenants. Each membership can have a separate role or capabilities.
For example, one person might be an owner in Company A and a viewer in Company B. The account login can stay the same while membership determines which resources can be viewed or changed in each company.
Clerk's organisations documentation explains organisation context and users belonging to multiple organisations. This is useful implementation context; it is not a mandate to use one identity vendor or data model.
Before drawing the UI, answer:
- What is the top-level organisation or workspace?
- Does each tenant own separate records and billing?
- Can a person join several tenants with one login?
- Does their role change by tenant or by individual resource?
- What happens to access when membership is removed?
- Can links identify the intended workspace without exposing other tenants' data?
The Tenant Context Contract
Use this six-part design contract to align UX, product and engineering. It is a proposed planning method, not a security standard.
| Context | Product question | UX responsibility | Engineering verification |
|---|---|---|---|
| Identity | Who is signed in? | Account menu and profile clarity | Authentication/session correctness |
| Tenant | Which company is active? | Persistent, clear workspace context | Tenant-scoped data enforcement |
| Membership | How is this user related to that tenant? | Membership and invitation management | Membership lifecycle checks |
| Role | What capabilities are bundled? | Plain-language role descriptions | Server-side permission mapping |
| Resource/action | Which record or operation is allowed? | Available actions and meaningful denial | Authorization on each request |
| Recovery | What can user do after denial? | Request access or contact the right owner | Safe escalation and logs |
A coherent UI contract reduces confusion. It does not, by itself, prove isolation or permission correctness.
How should a SaaS workspace switcher work?
The current tenant should remain visible near the product's main navigation. People should be able to confirm where they are before creating, exporting, inviting or deleting content.
Test these scenarios:
- A user belongs to one workspace only; avoid unnecessary switching UI.
- A user belongs to many workspaces; support search and clear names.
- A user opens a direct link for another workspace they can access; explain a context change.
- A user opens a link to a workspace they cannot access; show the correct denial and recovery.
- A user starts an unsaved edit and switches workspaces; warn about losing work or preserve it safely.
- Two browser tabs are open in different workspaces; keep the correct context clear.
Do not rely only on color to signal the active organisation. Names, paths and descriptive labels make context more robust.
What role model should you show customers?
Start by defining actions and objects, then bundle them into understandable roles. A fixed set of roles can be sufficient for a simpler product. Resource-scoped permissions or custom roles become relevant when the buyer's real workflows require them.
| Model | Example | UX benefit | Complexity to plan |
|---|---|---|---|
| Fixed roles | Owner, Admin, Member, Viewer | Easy to explain | Limited exceptions |
| Role + scoped access | Member can edit assigned projects | Matches team responsibility | Visibility and exception rules |
| Custom roles | Admin configures capabilities | Enterprise flexibility | Builder, review, test and audit UX |
| Attribute-based rules | Access depends on organisation, resource or policy | Can represent nuanced rules | Explanation and debugging are harder |
WorkOS discusses how B2B access models often evolve from simple roles toward more granular controls. Use it to inform technical review, not to assume every startup needs enterprise-level complexity from day one.
Design role assignment inside invitations
The invite flow is a high-consequence point. The person inviting someone should understand which workspace they are inviting them into and what the selected role allows.
Include:
- Workspace name and selected role.
- Plain description of key abilities.
- Seat or plan implications if the product actually charges by seats.
- Pending invitations, expiry, resend and revoke.
- Clear invitee landing page showing role and workspace.
- Error handling for already-member, wrong-domain or expired-invite cases.
Defaulting everybody to broad admin access because the role picker is difficult is not a design solution.
Make the permissions table understandable
A permissions table should not expose only internal keys like invoice.export or workspace.member.write. Group capabilities around the jobs buyers understand: manage members, view billing, approve requests, export reports, edit records.
Use examples and impact messages. When a role changes, explain whether the change removes access immediately and whether any owned work must be reassigned. For destructive changes, a confirmation should state the target tenant and consequence.
Not every company needs editable roles. If only a few fixed roles exist, a clear comparison table may be more useful than a complex permission editor.
What should the access-denied experience say?
“403 Forbidden” is a technical status, not a complete user experience. Where safe, say what action is unavailable and how a legitimate user can proceed.
Example:
You can view this report but cannot export it. Ask a workspace admin for export access.
Provide a request-access action when appropriate. Do not reveal confidential records or another tenant's existence just to make the message informative. UX should make authorization comprehensible without leaking restricted data.
UX permissions are not authorization security
This boundary matters. Hiding an export button does not prevent a forged API request. A workspace badge does not isolate tenant data. Approval copy does not grant legal authorization to access sensitive records.
The OWASP Authorization Cheat Sheet recommends denying by default, using least privilege and validating permissions on every request. Engineering must implement and test those controls. Security specialists should review high-risk deployments.
At handoff, ask engineering to test each important action across permitted and prohibited combinations of user, tenant and resource. The design team should separately test comprehension, navigation and recovery.
A short test plan for product teams
Before launch, recruit representative actors: owner, admin, operational member and restricted user. Have each attempt the same three jobs from different tenant contexts.
Observe whether users can:
- Identify the active company without guessing.
- Invite the right colleague with the right access.
- Understand why a control is unavailable.
- Request or grant access appropriately.
- Complete a task in one tenant without confusing it with another.
- Predict the consequence of changing a role.
Record misunderstandings and compare them against the permission model. A correct backend can still feel opaque; a clear interface can still hide an insecure backend. Both need verification.
Map permissions as a user decision, not only an engineering table
A role-based SaaS product needs a shared understanding of identity, membership, organisation, resource and action. These are separate concepts.
One person may belong to two organisations. They can be an administrator in one and a viewer in the other. They can also own a resource inside one workspace without receiving broader organisation permissions. A UI that labels that person simply “Admin” everywhere can create dangerous misunderstandings.
A practical product workshop should define:
| Question | UX output | Engineering counterpart |
|---|---|---|
| Which organisation am I in? | Persistent, readable workspace identity | Server-verified tenant context |
| What role do I have here? | Clear membership and role presentation | Authoritative role/permission state |
| What can I see? | Navigation and resource visibility | Authorised resource filtering |
| What can I change? | Explicit enabled/disabled actions | Server-side action enforcement |
| Who can grant access? | Invite, approval and role-management flow | Privileged policy checks and audit logs |
| What happens when access ends? | Clear loss-of-access and return path | Revocation, token/session handling |
The interface cannot be the security boundary. OWASP's multi-tenant security guidance says tenant context should come from verified identity and membership and be enforced across data-access paths. Hiding a menu item does not enforce that boundary.
Design five permission journeys before drawing the settings page
Joining: An invited user should understand which organisation invited them, what role they are accepting and which account they are joining.
Switching: When a user changes organisations, the new workspace context must remain visible. Search, recent items and action destinations should not silently mix contexts.
Requesting: When someone lacks access to a job, explain which kind of permission is required and what they can do next. Do not reveal restricted resource details while explaining denial.
Changing: A privileged user should see the consequence of a role change before saving it. When permissions are broad, show the effective capabilities, not just vague role labels.
Leaving: Deactivating a membership should produce understandable feedback and preserve access to any other organisations the person still belongs to.
If these journeys are not defined, a workspace switcher and invite modal cannot be designed reliably.
The permission-state test matrix
A multi-tenant UX review should exercise real jobs across membership boundaries. Test combinations rather than inspecting one admin screenshot:
| Situation | Expected user-facing behaviour |
|---|---|
| User has access to Organisation A but not B | A is accessible; B's data is not exposed |
| User switches from manager in A to viewer in B | Workspace identity and available actions change correctly |
| Invite has expired | Invitation state is explained with a safe recovery route |
| Role is downgraded mid-session | Restricted action fails safely and the UI updates coherently |
| Resource is shared with a permitted subset | Visibility and available actions match actual permissions |
| User loses the final workspace membership | A helpful account state replaces broken navigation |
The expected UI results can be checked by product/design teams. Engineering must separately validate access controls through security and integration tests. Neither checklist replaces the other.
Should your SaaS use predefined roles or custom roles?
Predefined roles are easier for new customers to understand and for support teams to explain. Custom roles can be useful for enterprise accounts with unusual governance requirements, but they add complexity to administration, documentation and testing.
Start with a small number of understandable role types when the business permits it. Add granular permission editing only when customers have a demonstrated need that predefined roles cannot meet. If you support custom roles, make their effective capabilities visible and prevent accidental privilege expansion.
The important commercial consequence is scope. Custom role builders, cross-organisation memberships and delegated administration are product-design workstreams, not small add-ons to a settings page. A specialist SaaS product design engagement should account for those interactions and states before engineering commits to them.
The bottom line
Multi-tenant SaaS UX is not just a workspace dropdown. It is a consistent contract between identity, organisation, membership, role, resource and action. Get that model clear early, then design the interfaces customers use to understand and manage it.
Desisle's SaaS Product Design service covers role-based workflows, permissions and complex product states. A focused UX engagement can define the interaction model and test it with users while engineering owns authorization enforcement and technical security.
Frequently asked questions
How do you design roles and permissions for B2B SaaS?
Define tenant boundaries, user memberships, resources and meaningful actions first. Group common capabilities into understandable roles, then design invites, role management, access-denied states and changes. Test comprehension with representative roles and have engineering verify enforcement on every protected request.
What is the difference between a tenant and a workspace?
The terms vary by product. A tenant commonly represents a data and access boundary, while a workspace is a visible collaboration or organizational context. Some products use one workspace per tenant; others have several workspaces inside an organisation. Define ownership and access explicitly rather than relying on names.
Can users have different roles in different organisations?
Yes, if the SaaS membership model supports it. A person can hold one login and different access in each organisation. The UI should show the active context and relevant role; the backend must enforce the correct tenant-specific permissions during every protected operation.
Should a Seed-stage SaaS product build custom roles?
Only when actual users need them and the product can support the extra complexity. Fixed roles can cover early collaboration. Enterprise buyers may need scoped or custom access later. Document constraints now, but do not build an elaborate role editor solely because larger competitors have one.
Can a UX audit verify that multi-tenant access is secure?
A UX audit can inspect permission clarity, confusing controls and failure paths, but it does not replace server-side authorization tests, security review or penetration testing. The two disciplines should coordinate around a shared capability matrix and clearly separated acceptance criteria.