Zum Hauptinhalt springen

Site Assignments

Site assignments control which sites a user can see and interact with. They are the mechanism that restricts Site-Admins and Members to their relevant locations.

How site scoping works

Every API request in Atrium carries a site context — either explicitly (the user selects a site) or implicitly (derived from the resource being accessed, e.g., viewing a visit that belongs to a specific site). The authorization layer checks that the user's site assignments include the requested site.

  • Tenant-Admins bypass site scoping — they have implicit access to all sites in the tenant.
  • Site-Admins can only manage and view data for their assigned sites.
  • Members can only create visits and view their own visitors at their assigned sites.

Assigning sites to a user

Site assignments are configured when creating or editing a user:

  1. Navigate to Settings → Users.
  2. Create a new user or edit an existing one.
  3. In the Site Access field, select one or more sites.
  4. Save.

A user can be assigned to multiple sites. For example, a Site-Admin responsible for both the Munich and Berlin offices would have both sites in their assignment list.

Changing site assignments

When you add or remove a site from a user's assignment:

  • Adding a site: The user gains access to the new site on their next token refresh (within 15 minutes, or immediately on re-login).
  • Removing a site: The user loses access to the site. Any visits they created at that site remain — they just can't see or manage them anymore. The visits are still visible to other users with access to that site.

Multi-site users in the dashboard

Users with access to multiple sites see a site selector in the sidebar. The dashboard always displays visitors for the currently selected site. Switching sites updates the visitor list, stat cards, and all site-scoped data.

There is no "all sites" aggregate view in the dashboard. Each site is viewed individually. This is deliberate: visitor management is inherently site-specific (you need to know who is in this building).

Site assignments and hosting

A user can only create visits at sites they're assigned to. When pre-registering a visitor, the visit is automatically scoped to the currently selected site. If a user is assigned to multiple sites, they choose the site when creating the visit.