---
title: "Team Collaboration & Workspaces"
description: "Provision an isolated team workspace, invite members with scoped RBAC permissions, and verify audit attribution in under 4 minutes."
---

> Documentation Index
> Fetch the complete documentation index at: https://shaf.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Team Collaboration & Workspaces

# Team Collaboration & Workspaces

Provision an isolated team workspace, invite members with scoped RBAC permissions, and verify audit attribution in under 4 minutes.

---

## Prerequisites

- An active Shaf account on [dash.shaf.app](https://dash.shaf.app).
- Organization provisioning permissions on your current subscription plan.
- Email addresses of colleagues you intend to invite.

---

## Workspace Architecture

Every organization in Shaf forms an isolated multi-tenant security boundary:

```text
Your Shaf Account (OAuth / Magic Link)
├── Personal Workspace (Default personal links and hobby domains)
└── Organization Workspace (e.g. Acme Engineering)
    ├── Branded Domains (link.acme.com)
    ├── Shared Link Repository & Tags
    ├── Role-Based Access Control (Owner, Admin, Member)
    ├── Audit Log Attribution
    └── Scoped API Tokens & Webhook Subscriptions
```

---

## Step-by-Step Instructions

1. **Provision a New Organization Workspace**

   Open [dash.shaf.app](https://dash.shaf.app) and click the workspace switcher dropdown at the top of the sidebar.

   Click **Create Organization**, enter the organization name:

   ```text
   Acme Engineering
   ```

   Click **Create Organization**. Shaf initializes an isolated D1 database partition, dedicated custom domain pool, and analytics namespace.

   **Expected output:**
   The sidebar updates to show `Acme Engineering` as the active workspace, with clean quotas:

   ```text
   Active Workspace: Acme Engineering
   Links:            0 / 10,000
   Custom Domains:   0 / 10
   Role:             Owner
   ```
2. **Dispatch Role-Scoped Member Invitations**

   Navigate to **Settings** → **Members** and click **Invite Member**.

   Configure the invite fields:

   - **Email Address**: `developer@acme.com`
   - **Role**: `Admin`

   Click **Send Invitation**. Shaf sends a transactional email containing a signed, single-use acceptance token valid for 7 days.

   **Expected output:**
   The pending invitations table displays the queued invitation:

   ```text
   Email:       developer@acme.com
   Role:        Admin
   Status:      Pending
   Expires In:  7 days
   ```
3. **Accept Invitation and Switch Active Workspace**

   The invited teammate opens the invitation URL received via email:

   ```text
   https://dash.shaf.app/invites/tok_7f9a2b4c8e1d3f5a
   ```

   The teammate signs in with their credentials and confirms acceptance. The organization is immediately mounted into their account sidebar.

   **Expected output:**
   The member list in **Settings** → **Members** updates from `Pending` to `Active`:

   ```text
   Name:         Jane Developer
   Email:        developer@acme.com
   Role:         Admin
   Joined:       Just now
   ```
4. **Verify RBAC Boundaries and Audit Attribution**

   Shaf enforces explicit permission boundaries across three roles:

   | Capability | Owner | Admin | Member |
   | :- | :-: | :-: | :-: |
   | **Create, Edit, & Delete Short Links** | Yes | Yes | Yes |
   | **Inspect Analytics & Export CSV** | Yes | Yes | Yes |
   | **Add & Verify Custom Domains** | Yes | Yes | No |
   | **Invite Teammates & Manage Roles** | Yes | Yes | No |
   | **Manage Billing, Invoices, & Plans** | Yes | No | No |
   | **Delete Organization** | Yes | No | No |

   Create a link as an Admin or Member. In the link details panel, verify author attribution.

   **Expected output:**

   ```text
   Created by: developer@acme.com
   Timestamp:  2026-11-21T14:30:00Z
   Action:     link.create (Logged in Workspace Audit Stream)
   ```

> **Resending Invitations**
>
> If a teammate cannot locate their invitation email, navigate to **Settings** → **Members**, click the actions menu next to the pending invite, and select **Copy Invite Link** to share the token directly over secure internal chat.

---

## Next Steps

Configure enterprise identity federation and automate workspace provisioning:

- **Enterprise SSO & SCIM Provisioning** — Automate Okta, Entra ID, and Google Workspace user lifecycle sync via SCIM 2.0.
- **Organization Quota Management** — Track monthly click consumption and configure proactive threshold alert webhooks.
- **Subscription & Billing Recipes** — Manage payment methods, upgrade seats, and download tax invoices.
- **Programmatic REST API** — Automate short link operations programmatically using workspace-scoped API keys.

Source: https://shaf.app/docs/tutorials/team-collaboration/index.mdx
