# Roles and permissions

Access in HeyMySocial has two levels. The organization is where the plan and the people are managed. The workspace is where the data lives: one brand or one client. A person has a role in the organization, a role in each workspace they are invited to, or both.

Everything is denied unless a role grants it. A person, an assistant acting for that person and a personal key all go through the same check.

## The roles

<div class="table-scroll"><table><thead><tr><th>Role</th><th>Name in the app</th><th>Applies to</th><th>What it is for</th></tr></thead><tbody><tr><th scope="row"><code style="white-space:nowrap">owner</code></th><td>Owner</td><td>Organization</td><td>Works in every workspace as a manager, manages the plan and the people, and can transfer ownership. An organization always has exactly one.</td></tr><tr><th scope="row"><code style="white-space:nowrap">admin</code></th><td>Admin</td><td>Organization</td><td>Works in every workspace as a manager, and manages the plan and the people of the organization.</td></tr><tr><th scope="row"><code style="white-space:nowrap">member</code></th><td>Member</td><td>Organization</td><td>Opens only the workspaces they were invited to, with the workspace role given there.</td></tr><tr><th scope="row"><code style="white-space:nowrap">manager</code></th><td>Manager</td><td>Workspace</td><td>Runs the workspace: members, connections, approvals and everything the other roles can do.</td></tr><tr><th scope="row"><code style="white-space:nowrap">strategist</code></th><td>Strategist</td><td>Workspace</td><td>Researches, plans and drafts. Cannot approve or publish.</td></tr><tr><th scope="row"><code style="white-space:nowrap">publisher</code></th><td>Publisher</td><td>Workspace</td><td>Drafts, approves and publishes content.</td></tr><tr><th scope="row"><code style="white-space:nowrap">paid_operator</code></th><td>Paid operator</td><td>Workspace</td><td>Imports paid data and prepares budget requests. Cannot approve their own requests.</td></tr><tr><th scope="row"><code style="white-space:nowrap">sales_collaborator</code></th><td>Sales collaborator</td><td>Workspace</td><td>Follows up on leads: status, outcome and sales.</td></tr><tr><th scope="row"><code style="white-space:nowrap">analyst</code></th><td>Analyst</td><td>Workspace</td><td>Reads dashboards and reports.</td></tr></tbody></table></div>

Owners and admins of the organization are not invited to workspaces one by one. They work in every workspace of the organization as managers, and they are the only ones who can manage the plan. An organization always keeps one owner; the owner hands it over with **Transfer ownership** to someone already in the organization, and stays on as an admin.

Everybody else gets a workspace role, per workspace. The same person can be a publisher for one client and an analyst for another.

## What each workspace role may do

<div class="table-scroll"><table><thead><tr><th style="white-space:normal">Ability</th><th style="white-space:normal">Manager</th><th style="white-space:normal">Strategist</th><th style="white-space:normal">Publisher</th><th style="white-space:normal">Paid operator</th><th style="white-space:normal">Sales collaborator</th><th style="white-space:normal">Analyst</th></tr></thead><tbody><tr><th scope="row">Open the workspace and its screens<br><code style="white-space:nowrap">view</code></th><td><strong>Yes</strong></td><td><strong>Yes</strong></td><td><strong>Yes</strong></td><td><strong>Yes</strong></td><td><strong>Yes</strong></td><td><strong>Yes</strong></td></tr><tr><th scope="row">Read the team&#039;s private notes<br><code style="white-space:nowrap">view_private_notes</code><br><span style="font-weight:400">Never for a client collaborator</span></th><td><strong>Yes</strong></td><td><strong>Yes</strong></td><td><strong>Yes</strong></td><td><strong>Yes</strong></td><td>No</td><td>No</td></tr><tr><th scope="row">Create and edit brand, research, strategy, content and experiments<br><code style="white-space:nowrap">draft</code></th><td><strong>Yes</strong></td><td><strong>Yes</strong></td><td><strong>Yes</strong></td><td><strong>Yes</strong></td><td>No</td><td>No</td></tr><tr><th scope="row">Approve content, strategies and recommendations<br><code style="white-space:nowrap">approve</code></th><td><strong>Yes</strong></td><td>No</td><td><strong>Yes</strong></td><td>No</td><td>No</td><td>No</td></tr><tr><th scope="row">Schedule and publish approved content<br><code style="white-space:nowrap">publish</code><br><span style="font-weight:400">Never for a client collaborator</span></th><td><strong>Yes</strong></td><td>No</td><td><strong>Yes</strong></td><td>No</td><td>No</td><td>No</td></tr><tr><th scope="row">Import ad results, map campaigns and prepare budget requests<br><code style="white-space:nowrap">manage_paid</code><br><span style="font-weight:400">Never for a client collaborator</span></th><td><strong>Yes</strong></td><td>No</td><td>No</td><td><strong>Yes</strong></td><td>No</td><td>No</td></tr><tr><th scope="row">Decide budget requests<br><code style="white-space:nowrap">approve_budget</code><br><span style="font-weight:400">Never for a client collaborator</span></th><td><strong>Yes</strong></td><td>No</td><td>No</td><td>No</td><td>No</td><td>No</td></tr><tr><th scope="row">Reply and assign in the inbox<br><code style="white-space:nowrap">engage</code></th><td><strong>Yes</strong></td><td><strong>Yes</strong></td><td><strong>Yes</strong></td><td>No</td><td>No</td><td>No</td></tr><tr><th scope="row">Manage inbox rules and the suppression list<br><code style="white-space:nowrap">manage_automation</code><br><span style="font-weight:400">Never for a client collaborator</span></th><td><strong>Yes</strong></td><td>No</td><td>No</td><td>No</td><td>No</td><td>No</td></tr><tr><th scope="row">See leads<br><code style="white-space:nowrap">view_leads</code></th><td><strong>Yes</strong></td><td><strong>Yes</strong></td><td>No</td><td><strong>Yes</strong></td><td><strong>Yes</strong></td><td><strong>Yes</strong></td></tr><tr><th scope="row">Change lead status and outcome, record opportunities and sales<br><code style="white-space:nowrap">manage_leads</code></th><td><strong>Yes</strong></td><td>No</td><td>No</td><td>No</td><td><strong>Yes</strong></td><td>No</td></tr><tr><th scope="row">Export personal data<br><code style="white-space:nowrap">export_pii</code><br><span style="font-weight:400">Never for a client collaborator</span></th><td><strong>Yes</strong></td><td>No</td><td>No</td><td>No</td><td>No</td><td>No</td></tr><tr><th scope="row">Read dashboards and reports<br><code style="white-space:nowrap">view_reports</code></th><td><strong>Yes</strong></td><td><strong>Yes</strong></td><td><strong>Yes</strong></td><td><strong>Yes</strong></td><td><strong>Yes</strong></td><td><strong>Yes</strong></td></tr><tr><th scope="row">Connect channels, ad accounts and CRM, and manage tracking sites and API keys<br><code style="white-space:nowrap">manage_integrations</code><br><span style="font-weight:400">Never for a client collaborator</span></th><td><strong>Yes</strong></td><td>No</td><td>No</td><td>No</td><td>No</td><td>No</td></tr><tr><th scope="row">Invite people and change their roles<br><code style="white-space:nowrap">manage_members</code><br><span style="font-weight:400">Never for a client collaborator</span></th><td><strong>Yes</strong></td><td>No</td><td>No</td><td>No</td><td>No</td><td>No</td></tr><tr><th scope="row">Change workspace settings, consent and deletion<br><code style="white-space:nowrap">manage_workspace</code><br><span style="font-weight:400">Never for a client collaborator</span></th><td><strong>Yes</strong></td><td>No</td><td>No</td><td>No</td><td>No</td><td>No</td></tr><tr><th scope="row">Manage the plan and payment<br><code style="white-space:nowrap">manage_billing</code><br><span style="font-weight:400">Never for a client collaborator</span></th><td>No</td><td>No</td><td>No</td><td>No</td><td>No</td><td>No</td></tr></tbody></table></div>

Each row is one ability. The name under its description is the product's own: it is what [whoami](https://heymysocial.com/docs/assistant/tools/whoami) lists under `can`, and what an `access_denied` answer is about. A manager holds every ability except `manage_billing`, which follows the organization role instead.

Two rules sit on top of the matrix:

- **Approving your own request.** A workspace can require a second person for approvals. With that setting on, the person who asked for an approval cannot be the one who gives it.
- **Read-only workspaces.** When an organization has more workspaces than its plan allows, the newest are read-only until one is archived or the plan changes. A role does not override that. See [plan limits](https://heymysocial.com/docs/reference/plan-limits).

## Client collaborators

A member can be marked as a client collaborator: someone on the client's side, invited to see and approve. They keep the role they were given, without the abilities the matrix marks as never for a client collaborator. Whatever the role, a client collaborator:

- never sees the team's private notes;
- cannot connect channels, ad accounts or a CRM, manage members, change workspace settings or export personal data;
- cannot schedule or publish. A client may approve what goes out; putting it on the calendar stays with the team;
- cannot manage ad results or decide budget requests;
- works in the client portal. The team's screens (Brand Brain, Intelligence, Strategy, Studio, Paid, Funnels, Next actions and Settings) answer as if they did not exist.

## Inviting someone

1. Open **Settings**, then **Members**.
2. Under **Invite to this workspace**, enter the email address and choose the role. The screen shows the product's description of the role as you choose.
3. Tick **Client collaborator** for someone on the client's side.
4. Press **Send invitation**. The person gets an email with a link.

Owners and admins also see **Invite an admin**, for someone who should manage the whole organization. Every person counts as one seat across the organization, however many workspaces they are in, and an open invitation holds a seat. When the plan's seats are taken, a new invitation is refused with `quota_exceeded`.

An assistant can help a person who holds `manage_members`: [list_members](https://heymysocial.com/docs/assistant/tools/list-members), [invite_member](https://heymysocial.com/docs/assistant/tools/invite-member), which checks an invitation and hands back the screen where the person sends it, and [manage_member](https://heymysocial.com/docs/assistant/tools/manage-member).

## Assistants and keys

- **An assistant** that signed in, or that uses a personal key (`hms_mcp_…`), acts as the person who connected it: the same workspaces, the same role. It can never do more than that person can.
- **A workspace API key** (`hms_live_…`) is not a person and has no role. It belongs to one workspace and carries [scopes](https://heymysocial.com/docs/api/authentication) instead. Creating one takes `manage_integrations`.

## What a refusal looks like

A missing ability is answered with `access_denied`, and a missing scope on an API key with the same code and HTTP 403. An id that belongs to another workspace is answered with `not_found`, never with `access_denied`, so nobody can learn that it exists. This is what an assistant gets:

```json
{
  "code": "access_denied",
  "message": "You do not have permission to do that in this workspace.",
  "request_id": "01JD3X0V9K2M4N6P8Q0R2S4T6V"
}
```
