Organizations are the tenant boundary in Kommander.ai. A signed-in user can belong to many organizations, and each organization owns its own assistants, conversations, training content, integrations, members, and billing context.

Use organizations as workspaces: each workspace is the operational area where a team configures assistants, uploads approved knowledge, reviews customer conversations, manages channels, and invites teammates with the right role.

Multi-Tenancy Model

Diagram description: one signed-in user may be a member of many organization workspaces. Each workspace keeps assistants, conversations, and training content scoped to that organization.

Organization membership is evaluated per workspace. A user can be an admin in one organization, an operator in another, and a viewer in a third. Permissions do not carry across organization boundaries.

Workspace Concept

A workspace is the product experience for one organization. It gives teams a shared place to manage:

  • Assistant configuration and enabled channels.
  • Training knowledge such as FAQs, uploaded documents, website content, and integration-synced data.
  • Conversation history and operator follow-up workflows.
  • Analytics, integrations, identity verification, and member access.
  • Billing and subscription state for the organization owner.

Most customers should create one workspace per company, brand, or customer-facing business unit. Create separate workspaces when assistants, training data, conversations, billing, or team access must stay isolated.

Role Capabilities

Kommander.ai stores a role on each organization membership and resolves that role to default permission strings. Custom permission arrays can narrow or expand a specific member’s effective access, so authorization checks should be understood as permission-based even when the UI presents role names.

RoleIntended useDefault capability summary
adminOrganization owner or trusted administrator.Full organization administration, member management, invitations, billing, integrations, analytics, conversations, and knowledge base access. Includes admin_access.
managerTeam lead who operates the workspace but should not own billing or full organization settings.Manage members, invitations, integrations, analytics, conversations, and read training knowledge.
userStandard teammate working with conversations and knowledge.Read the organization, read and write conversations, and read training knowledge.
viewerRead-only teammate or stakeholder.Read the organization, conversations, and training knowledge.
guestMinimal-access collaborator.Read organization metadata only.
operatorHuman support or sales operator handling escalations.Read the organization, view analytics, read and write conversations, and read training knowledge.

RBAC Matrix

This matrix matches the default permission map used by backend/lib/organizationService.ts.

PermissionAdminManagerUserViewerGuestOperator
read_organizationYesYesYesYesYesYes
manage_organizationYesNoNoNoNoNo
manage_membersYesYesNoNoNoNo
manage_invitationsYesYesNoNoNoNo
invite_usersYesYesNoNoNoNo
remove_usersYesNoNoNoNoNo
manage_billingYesNoNoNoNoNo
manage_integrationsYesYesNoNoNoNo
access_analyticsYesYesNoNoNoYes
admin_accessYesNoNoNoNoNo
read_conversationsYesYesYesYesNoYes
write_conversationsYesYesYesNoNoYes
read_kbYesYesYesYesNoYes
write_kbYesNoNoNoNoNo

Permission Definitions

PermissionAllows
read_organizationView organization metadata and workspace context.
manage_organizationUpdate organization-level configuration and settings.
manage_membersRead, add, or update organization members.
manage_invitationsManage invitation records and invitation workflow state.
invite_usersSend new organization invitations.
remove_usersRemove users from the organization.
manage_billingManage billing-related organization state.
manage_integrationsConfigure organization integrations and integration secrets.
access_analyticsView organization analytics and reporting surfaces.
admin_accessUse organization administrator-only surfaces and elevated organization checks.
read_conversationsView conversations scoped to the organization.
write_conversationsReply to, update, or otherwise write conversation records.
read_kbView training knowledge and knowledge-base sources.
write_kbCreate, edit, or delete training knowledge.

Access Rules

  • Organization data must stay scoped by organization ID; assistant, conversation, training, integration, and billing records should not be shared across workspaces.
  • Prefer permission checks over role-name checks when protecting routes or product actions.
  • Keep platform admin access separate from organization admin; organization roles do not grant internal platform administration.
  • Treat custom member permission arrays as the effective access source when present.