Scoped access settings. Local policy can narrow, never expand, the host ceiling.
Scoped access settings. Local policy can narrow, never expand, the host ceiling.
(assert-bounded! host candidate root)Reject expanded grants after canonical path resolution, including symlink aliases.
Reject expanded grants after canonical path resolution, including symlink aliases.
(check-tool-names! target names)Throw a 400 error for an entry of names that matches no tool of target.
Throw a 400 error for an entry of `names` that matches no tool of `target`.
(effective-config db target)Resolve access keys independently; unrelated configuration is not session-owned.
Resolve access keys independently; unrelated configuration is not session-owned.
(set-tool-names-fn! f)Install f, which takes a workspace root and answers the tool names that a tool list
can name there, or nil when it cannot tell.
Install `f`, which takes a workspace root and answers the tool names that a tool list can name there, or nil when it cannot tell.
(snapshot db session-id)Use the current host ceiling if a later ancestor edit invalidates a local grant. A subagent gets its parent's policy, narrowed by its file grant.
Use the current host ceiling if a later ancestor edit invalidates a local grant. A subagent gets its parent's policy, narrowed by its file grant.
(tool-lists db session-id)The tool lists that apply to session-id, from each scope, least specific first, as
{:allow names} and {:deny names} maps. A subagent also gets the lists of its parent.
The tool lists that apply to `session-id`, from each scope, least specific first, as
`{:allow names}` and `{:deny names}` maps. A subagent also gets the lists of its parent.(tool-names target)The tool names that a tool list can name in target, or nil when they are unknown.
The tool names that a tool list can name in `target`, or nil when they are unknown.
(tool-pattern s)Compile one entry of a tool list. * matches any characters.
Compile one entry of a tool list. `*` matches any characters.
(validate-candidate! target candidate)Validate a complete staged access configuration before any owner is written.
Validate a complete staged access configuration before any owner is written.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |