# Access Control for Teamspace

## Resource Roles for Teamspaces

Owner role is different from Editor/Viewer roles and they are not mutually exclusive. When roles overlap, the higher role takes precedence.

| Role Name        | Summary                                            |
| ---------------- | -------------------------------------------------- |
| Teamspace Owner  | Can manage teamspaces without workspace owner role |
| Teamspace Editor | Can edit notebooks and folders in the teamspace    |
| Teamspace Viewer | Can view notebooks and folders in the teamspace    |

## Teamspace Operations and Access Control Rules

The operations that can be performed to manage teamspaces and the corresponding roles required to perform them are listed here.

| Operations                                                                              | Required Roles                                                                  |
| --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| View all teamspace names                                                                | Workspace Viewer                                                                |
| Add a teamspace to the workspace                                                        | Workspace Editor                                                                |
| <p>Rename a teamspace;<br>Manage teamspace owners;<br>Manage teamspace permissions;</p> | <p>"Workspace Owner"<br>OR ("Workspace Viewer"<br>AND "Teamspace Owner") \*</p> |

\*: This operation can be performed by a Workspace Viewer if the Workspace Viewer is the Teamspace Owner of the respective teamspace.


---

# 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.codatum.com/access-control/access-control-for-resources/access-control-for-teamspace.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.
