Many resources, such as templates, template folders, sequence folders and contact groups, can be shared with other people. A shared resource has a shared object with up to three lists. An empty object, {}, means it isn't shared.
| Property | Type | Description |
|---|---|---|
shared.users | Array | People it is shared with individually. |
shared.users[].userId | String | The person's Mixmax user _id, if they have an account. |
shared.users[].email | String | The person's email, if they don't have a Mixmax account yet. |
shared.users[].accepted | Boolean | Whether they accepted the share. Until they do, they don't see the resource. |
shared.users[].role | String | read-only or read-write. |
shared.teams | Array | Teams it is shared with. |
shared.teams[]._id | String | The team's _id. |
shared.teams[].role | String | read-only or read-write. |
shared.orgs | Array | Workspaces it is shared with, as a whole. |
shared.orgs[]._id | String | The workspace's _id. |
shared.orgs[].role | String | read-only or read-write. |
Someone reached through more than one share gets the highest role among them. Workspace admins can also reach resources owned by members of their workspace, whatever shared says.
