# Teams and roles

A Godelgate Cloud workspace is shared by your team: the same servers, policy, approvals and audit log, with each person's calls logged under their own email.

## Invite people

1. Open **Team** and choose a role.
2. Optionally enter an email to lock the link to one person.
3. Click **Create invite link** and send the link.

Links work once and expire after 7 days. Pending invites are listed on the same tab, where you can revoke them.

Whoever opens the link sees the workspace's name and continues with Google, which signs them in or creates their account. Then they create their own key on the **Connect** tab.

## Roles

| Role | Can |
| --- | --- |
| **Member** | Create their own keys, connect clients, see logs, sessions, servers and policy |
| **Admin** | Everything a member can, plus add and edit servers, labels and policy, approve calls, trust tools, invite and manage members and admins |
| **Owner** | Everything an admin can, plus make, change and remove owners |

A workspace always keeps at least one owner. When you change someone's role or remove them, their open MCP sessions end; removed members' keys stop working immediately.

## Groups in policy rules

Give members groups on the **Team** tab, such as `engineering` or `contractors`. Policy rules can target groups and roles:

```json
{ "tool": "stripe__*", "action": "deny", "groups": ["contractors"], "reason": "contractors don't touch payments" }
```

Every member is also in a group named after their role (`owner`, `admin` or `member`), so a rule can apply to all members who aren't admins:

```json
{ "tool": "*__delete_*", "action": "approve", "groups": ["member"] }
```

A tool that a group can never use (an unconditional deny rule) is removed from that group's tool list entirely.

## More than one workspace

One account can belong to several workspaces, for example a company workspace and a personal one. Switch between them with the menu next to the logo, or create another on **Settings**. Keys belong to one workspace each.
