Liking cljdoc? Tell your friends :D

com.blockether.vis.internal.sandbox.scoped-policy

Scoped access settings. Local policy can narrow, never expand, the host ceiling.

Scoped access settings. Local policy can narrow, never expand, the host ceiling.
raw docstring

assert-bounded!clj

(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.
sourceraw docstring

check-tool-names!clj

(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`.
sourceraw docstring

effective-configclj

(effective-config db target)

Resolve access keys independently; unrelated configuration is not session-owned.

Resolve access keys independently; unrelated configuration is not session-owned.
sourceraw docstring

fieldsclj

source

set-setting!clj

(set-setting! db target id action given)
source

set-tool-names-fn!clj

(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.
sourceraw docstring

setting?clj

(setting? id)
source

settingsclj

(settings db target)
source

snapshotclj

(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.
sourceraw docstring

tool-listsclj

(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.
sourceraw docstring

tool-namesclj

(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.
sourceraw docstring

tool-patternclj

(tool-pattern s)

Compile one entry of a tool list. * matches any characters.

Compile one entry of a tool list. `*` matches any characters.
sourceraw docstring

validate-candidate!clj

(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.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close