Sharing an item
Your role decides what you may create. Sharing decides who can touch each individual thing after it exists.
Three kinds of item can be shared: assistants, workflows and document sources. Everything else inherits its access from one of those three.
The four levels
| Level | Meaning |
|---|---|
| Owner | Created it, or was handed ownership. Full control, including deleting and re-sharing. |
| Editor | Can change the item, but not delete or re-share it. |
| Viewer | Can see and use the item. Cannot change anything. |
| Executor | Workflows only. Can run it, but not change it. |
You can share with an individual person or with a group — sharing with a group grants the level to every member.
Editors and Viewers cannot pass access on to someone else. Besides the Owner, only Admins and Platform Admins can re-share an item.
What each level grants
Assistants
| Viewer | Editor | Owner | |
|---|---|---|---|
| Read and chat with it | ✅ | ✅ | ✅ |
| Edit it | — | ✅ | ✅ |
| Clone it | ✅ ¹ | ✅ ¹ | ✅ |
| Share it | — | — | ✅ |
| Delete it | — | — | ✅ |
Workflows
| Viewer | Executor | Editor | Owner | |
|---|---|---|---|---|
| Read it | ✅ | ✅ | ✅ | ✅ |
| Run it | — | ✅ | ✅ | ✅ |
| Edit it | — | — | ✅ | ✅ |
| Clone it | ✅ ¹ | ✅ ¹ | ✅ ¹ | ✅ |
| Share it | — | — | — | ✅ |
| Delete it | — | — | — | ✅ |
Document sources
| Viewer | Editor | Owner | |
|---|---|---|---|
| Read it | ✅ | ✅ | ✅ |
| Upload documents | — | ✅ | ✅ |
| Ingest documents | — | ✅ | ✅ |
| Edit it | — | ✅ | ✅ |
| Share it | — | — | ✅ |
| Delete it | — | — | ✅ |
¹ Cloning also requires the Contributor role (or Admin / Platform Admin). Someone with the plain User role cannot clone even an item they own.
On a document source, can_upload_documents and can_ingest_documents are both
defined as "whatever can_update allows". If you can edit the source, you can add and
process documents in it — there is no separate permission to grant.
Making something public
Instead of naming people, you can flip an item to public, which grants access to everyone in the organization at a fixed level.
| Item | What "public" grants everyone |
|---|---|
| Assistant | Read and chat |
| Workflow | Read and run |
| Document source | Read |
Making a workflow public does not just let people look at it — can_execute includes
everyone with public access. If the workflow costs money, writes to an external system,
or sends messages, consider sharing it with a group as Executor instead.
What inherits from what
Most things in the product are not shared directly. They ride along on their parent.
| Item | How access is decided |
|---|---|
| Chat | You must own it and be able to read its assistant. Admins can read any chat. |
| Document | Follows its document source. Editing a document needs edit rights on the source. |
| Workflow run | You must own it and be able to read its workflow. Admins can read any run. |
| Workflow schedule | You must be able to read the workflow, or own the workflow outright. |
| Rating | You must own it and be able to read the chat or run it belongs to. |
This cascade explains a common surprise: losing access to an assistant also hides your own chats with it. The chat rule requires both ownership and readable assistant, so removing the assistant share closes the chats too.
Doing it in the app
Open the item's menu and choose Share. Pick people or groups, choose a level, and save. The same screen has the public toggle.
Under the hood the app calls:
| Action | Endpoint |
|---|---|
| Grant or revoke a level | POST /api/permission |
| Make public or private | POST /api/permission/public |
| See who has access | GET /api/permission/users/{EntityType}:{entityId} |
| See which groups have access | GET /api/permission/groups/{EntityType}:{entityId} |