# Manage workspace users

You can invite users to collaborate on a Stacksync workspace.

Stacksync uses Role-Based Access Control (RBAC) to let you manage permissions and access. Users can have the following roles:

* **Owner** (Can create and use all workspace resources except private resources owned by other users and manages the workspace billing).
* **Editor** (Can create and use all workspace resources except private resources owned by other users. Editors can also invite other users to join a workspace).
* **Viewer** (Can ONLY view non-private workspace resources. Viewers cannot create, update or delete any workspace resources).

### Invite users to a workspace

1. Go to "Workspace settings"
2. Insert email to invite and choose user role
3. Click "Send invite"

<figure><img src="/files/ljbAQKL0EX6IPrI5Ipzk" alt=""><figcaption><p>Invite users to a Stacksync workspace</p></figcaption></figure>

Invitations can be revoked at any time. You can also add, update and remove workspace collaborators.

{% hint style="info" %}
To join the workspace, the invited collaborator will receive an email with a link to join the workspace. If they do not click on the link to accept the invite, they will not be able to join the workspace.
{% endhint %}

If you want to enforce MFA for all users in your workspace or need SAML & SSO, follow the tutorial below.&#x20;

{% content-ref url="/pages/SZSRe4fLxXczOJwbc2EV" %}
[Security](/two-way-sync/features/security.md)
{% endcontent-ref %}

### Switching between workspaces

You can see all the workspaces you own and the workspaces you have been invited to in the Workspace selection view.

<figure><img src="/files/yvKnyrXGPCLullmItFDI" alt=""><figcaption><p>Switch between Stacksync workspaces and view the workspaces shared with you.</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stacksync.com/two-way-sync/features/manage-workspace-users.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
