Add-ons: permissions
For developers
An add-on asks for scopes in its manifest. An administrator grants them when installing, choosing which teamspaces and hosts each grant covers, and can change or revoke them at any time. Venolio checks the grants on every host call, so a revoked scope or a disabled add-on stops working on its very next call.
| Scope | The administrator chooses | What it allows |
|---|---|---|
pages:read |
Teamspaces | Read the titles and plain text of pages in those teamspaces, and list them. |
records:read |
Teamspaces | Read records (title and stored properties) of databases in those teamspaces. |
records:write |
Teamspaces | Create records in databases in those teamspaces. Relation and file properties cannot be set. |
network |
Some or all of the declared hosts |
HTTPS requests to those hosts. |
storage |
Nothing | The add-on’s own key-value store. |
automations:trigger |
Nothing | Fire the triggers the manifest declares. |
Runs started for a person (automation actions, panels and blocks) are also bounded by that person’s own access: the effective access is the grant, the granting administrator’s access and that person’s access together.
Ask only for what the add-on needs, with a reason that tells the administrator why. Every scope you ask for is something an administrator has to accept.
What an add-on can never reach
There is no scope for mail, calendars, people, groups, credentials, attachments, comments, settings or other add-ons, and no workspace-wide page access. Inside granted teamspaces:
- personal private pages are never visible, not even the granting administrator’s own;
- pages in the trash are invisible;
- access is also bounded by the granting administrator’s own access: an add-on never sees what that person cannot, and records it creates are attributed to that person.
Denied requests
A request outside the grants returns an error with denied: true; in the SDK it is
Error::Denied. The message is the same whether or not the object exists, so an add-on cannot
probe for pages or databases it was not given:
| Situation | Message |
|---|---|
| Scope not granted | This add-on has not been granted storage |
| Page outside the grants, or missing | Page not found or not granted to this add-on |
Database outside the grants, missing, or not editable for records:write |
Database not found or not granted to this add-on |
| Host not granted | The host "api.example.net" is not granted to this add-on |
| Not HTTPS on port 443, or credentials or a fragment in the address | Add-ons may only call HTTPS URLs on port 443 without credentials or fragments |
Handle denials gracefully: an administrator may grant fewer teamspaces or hosts than you hoped,
or revoke a scope later. Venolio counts denied calls in the run report (denied_calls).
Network rules
- Only
httpson port 443, to a host name the administrator granted exactly (no wildcards). - Every address the name resolves to must be public, and the request goes to those addresses. Redirects are not followed. Each request times out after 10 seconds.
- Request bodies are at most 256 KiB; responses are cut at 1 MiB (
truncated: true). At most 20 request headers;Host,Content-Length,Transfer-Encoding,Connectionand other connection headers cannot be set. Only thecontent-type,content-length,retry-after,etag,last-modified,locationanddateresponse headers are passed back. - At most 8 HTTP requests per run.
Test permissions
Test cases choose the grants with fixtures.grants; without it, everything the manifest asks for
is granted. Write at least one case per scope that runs without it, to see that your add-on fails
clearly (see Testing).
About this part of Venolio: Let Claude, ChatGPT and Codex work in your workspace
Checked against the app on . The same help is built into the Venolio apps and works offline. Something wrong or missing? Tell us.