Skip to main content

Users & Roles

SpaceOS uses role-based access control (RBAC) to manage permissions within organizations.

Role Hierarchy

RoleCapabilities
Super AdminPlatform-level access across all organizations
OwnerFull control of their organization
AdminManage spaces, bookings, devices, and users within the organization
MemberCreate and manage their own bookings
GuestLimited access for one-time bookings

Authentication Methods

MethodUse CaseHeader
OTP → JWTUser authentication (admin dashboard, mobile app)Authorization: Bearer <jwt>
API KeySystem-level integrations between servicesx-api-key: <key>
Org API KeyOrganization-scoped external integrationsx-org-api-key: <key>

Permission Model

  • Roles define a set of permissions (read, write, delete for each resource type)
  • Permissions are checked via guards on each API endpoint
  • Org API Keys carry their own permission set, independent of user roles

Next Steps