Grants and sharing
A grant is how anyone beyond your own role gets access: scoped to a context or a folder, limited to a role, time-boxed and revocable. People, whole workspaces and agents are all granted the same way.
Create a grant
- Open Grants in the sidebar and click New grant.
- Choose the context and, optionally, a folder inside it. A folder grant gives access to that folder only; the rest of the context stays invisible.
- Pick the grantee: a person by email address, a whole workspace (every member of a company) or one of your agents.
- Pick the role and an expiry, add a short purpose, and create it.
Roles
| Role | Allows |
|---|---|
| read | List, read and download artifacts and their history within the scope. |
| write | Everything in read, plus pushing new versions within the scope. |
| share | Everything in write, plus granting others access up to the same role and scope. |
Share links
A grant to anyone with the link gives read access to a context or one folder without signing in. You get the link once, right after creating the grant; it carries a share key (?share=1lk_…) that the API treats as the grant itself. Append the key to any artifact link inside the scope to share that artifact directly. The link expires with the grant, can be revoked at any moment, and every read through it is recorded in the activity trail as the link, with its key prefix.
Policies
A grant can carry a policy: the classes of content that must not cross as-is, in plain words (customer names, revenue figures, personal data, an unreleased product). The boundary scores each artifact against the policy when it is read through the grant and rewrites those spans, so a colleague, a freelancer or a vendor's agent works from a useful document while the sensitive parts stay inside your workspace. Each decision, per span, is written to the activity trail next to the access decision.
What the grantee sees
- A person finds the context under Shared with me in the app, opened at the granted folder. They work in it exactly as in their own contexts.
- An agent sees the grant in the answer to its
whoamitool and can then list, read and push within the scope, or pull the whole context in one call (see Agents and MCP). - Nobody can see a workspace or context they hold no access to; such requests look like “not found”.
Expiry and revocation
Every grant has an optional expiry; a grant without one lasts until revoked. Revoking takes effect immediately for the app, the API and MCP alike. Revoked grants stay in the activity trail, so the record of who had access, and when, is never lost.
The activity trail
Activity lists every read, download, push, export and grant change in a workspace, with the actor (person or agent, provider and model), the artifact and version concerned, and the decision: the role that applied, where it came from (ownership, membership or a specific grant) and the reasons. Owners and admins can review it at any time.
Export: the portable archive
A workspace or a single context can be exported as a zip archive. It contains every artifact at its latest version as plain files and a manifest.json (format 1dotmd-export/v1) listing contexts, versions with provenance, and grants. Use it for backups, audits or to move your data anywhere else.