# Team permissions and shared computers

> Control who on your team can use terminal, screen, files, clipboard, and port forwarding on each computer using rules, user groups, computer groups, and Effective access.

When sharing computers across a team, you do not have to choose between all-or-nothing access. Vibe42's fine-grained access system splits every computer into **five independent permissions** controlled by member and group rules that take effect immediately.

If you are setting up a Team for the first time, start with [Using Vibe42 with your team](/docs/getting-started/team-quick-start) to invite teammates and share your first computer.

## Core model: computer owners and access rules

Every computer has a **computer owner**: the account that connected it to the Team (separate from the Team **Owner** role).

- **The computer owner** always has full access to their own computer.
- **Everyone else**—including the Team **Owner** and **Admin**—gets access strictly according to the Team's **access rules**.
- Access rules do not change administrative actions: renaming, enabling/disabling, and deleting computers still follow the [role table](/docs/getting-started/team-quick-start#roles).

## The five permissions

| Permission | Levels | What it allows |
|---|---|---|
| **Terminal** | Denied / Read-only / Read & write | **Read-only:** View terminal output and history; cannot type, paste, resize, open/close windows, or control agents.<br>**Read & write:** Full terminal and agent control. |
| **Screen (Remote Desktop)** | Denied / Read-only / Read & write | **Read-only:** Watch the remote desktop only; does not wake the display, touch the lock screen, or unlock it (a sleeping display may show no picture).<br>**Read & write:** Keyboard/mouse control, unlocking, and launching apps. |
| **Files** | Denied / Read-only / Read & write | **Read-only:** Browse directories, preview, and download files.<br>**Read & write:** Also upload, create folders, and modify files. |
| **Clipboard** | Denied / Allowed | Read and write that computer's clipboard during Remote Desktop. |
| **Port forwarding** | Denied / Allowed | Forward local ports on that computer to your own device. |

> [!NOTE]
> Pasting or dropping a file into a terminal uploads it to a temporary folder on the host. **Terminal read & write** is enough for this—you do not need **Files read & write**.

## Access rules, user groups, and computer groups

Each rule defines **who** (one member or one user group) → **which computers** (one computer or one computer group) → **the level for each permission**. A rule can set only the permissions it cares about and leave the rest (`Not set`) to other rules.

- **User groups & computer groups:** Group people or machines (for example, "Frontend", "Interns", "Staging", "GPU cluster") to grant access all at once. A member can belong to multiple user groups, and a computer can belong to multiple computer groups; groups cannot contain other groups.
- **Three built-in system groups:** Every Team includes **All members**, **Admins** (Owner and Admin), and **All computers**. They update automatically and cannot be renamed, deleted, or edited manually.
- **Default rule:** Every Team starts with "Admins → All computers → Full read & write", so Owner and Admin can access every computer by default. Admins can edit or delete this rule; once deleted, admins can only access their own computers and computers granted by other rules.
- **Allow all members:** A computer's owner can toggle this switch in computer details (or run `v42 computer share <computer> team`), equivalent to "All members → this computer → Full read & write". It is off for newly connected computers and cannot be enabled if an admin has denied all members access to that computer.

## How multiple rules combine

When multiple rules apply to the same person and computer, each of the five permissions is evaluated independently:

1. **Direct member rules set by an admin win first:** If any rule an admin set directly for that member sets this permission, only those direct rules count and user-group rules are ignored. (Ideal for granting one person in a group more—or less—access than the rest.)
2. **Otherwise, Denied beats Allow:** If any applicable rule sets the permission to **Denied**, it is denied; if not, the **highest level** wins.
3. **Unset means unavailable:** Any permission no rule sets is unavailable.

> [!IMPORTANT]
> Any computer where all five permissions are unavailable appears under **No access**: you see its name, owner, and groups, but **not whether it is online**, and you cannot connect or see its Workspaces. Rule changes take effect within moments and immediately restrict active sessions.

## Who can change rules

- **Owner & Admin:** Can create, edit, and delete any rule, manage all user groups and computer groups, and set **Denied**.
- **Regular members (computer owners):** Can only grant other members or user groups access to **their own computers**. They cannot set **Denied**, cannot edit or delete rules containing **Denied**, and cannot edit or delete rules an admin set directly for an individual member.

## Where to manage and debug effective access

- **Access management:** Open your Team's **Access** page in Console, or open **Computers & Devices → Access** in the app. Both provide the exact same four tabs:
  1. **Rules:** Create, edit, and delete access rules.
  2. **User groups:** Manage custom member groups and view system groups.
  3. **Computer groups:** Manage custom computer groups.
  4. **Effective access:** Pick any member and any computer to see the **final result** for all five permissions and **which rule decided each one** (Owners/Admins can check anyone; computer owners can check their own computers).
- **Check your own permissions:** In the app, open **Computers & Devices → Details & access** on a computer and look at **My access**.

### When a computer shows "Update needed"

Enforcing per-feature access levels requires a recent version of Vibe42 on the host computer. If the host is outdated, members without full read & write access see **Update needed** and cannot connect until the owner updates Vibe42 on that machine. The owner and anyone with full read & write access are unaffected.

## Common team permission recipes

### 1. Read-only observers or interns
- **Setup:** Create an "Observers" user group and add a rule for target computers: `Terminal = Read-only`, `Screen = Read-only`, `Files = Read-only`, `Clipboard = Denied`, `Port forwarding = Denied`.
- **Result:** Teammates can watch agents work and inspect files in real time without typing commands, modifying files, or unlocking the screen.

### 2. Shared staging boxes or GPU servers
- **Setup:** Place shared hosts in a "Shared Servers" computer group and add a rule: `Engineering → Shared Servers → Terminal = Read & write, Files = Read & write, Port forwarding = Allowed, Screen = Denied, Clipboard = Denied`.
- **Result:** Engineers can run agents, edit code, and preview forwarded ports without unnecessary remote-desktop video traffic.

### 3. Keep personal laptops private from default admin access
- **Setup:** Have an admin edit or delete the default "Admins → All computers → Full read & write" rule and scope admin access to a "Shared Hosts" computer group instead.
- **Result:** Personal laptops stay private to their owners; when someone needs help debugging, the owner adds a temporary rule for that teammate and removes it afterward.

> [!WARNING]
> **OS-user security boundary:** The background service runs as the OS user who installed it. Anyone granted **Terminal read & write** on a computer can execute any command that OS user can run. Follow least privilege and grant read & write only to trusted members (see [Connectivity and security model](/docs/how-it-works/connections#security-model)).
