Skip to main content

Module folder_overlap_ask

Module folder_overlap_ask 

Source
Expand description

Agents ask_go_ahead (POST /api/v1/agent/folder-overlap-ask): an agent that was refused for a host agent that shares a folder with a container agent asks the person to go ahead with that pair. srv keeps the ask (backend::folder_overlap_asks), the window shows it as a card in the asking agent’s pane, and the person answers with one click, which only their window can do (app_api::folder_overlap). Asking again says where the ask stands: asked while the person has not answered, chosen once they went ahead, declined after a no.

The caller is the agent its token names; a request without one is refused, so an ask is never the person’s. The ask is recorded in the audit log under the asking agent, and the person’s answer under the person.

Structs§

AskRequest 🔒
Asker 🔒
The agent asking, and the pane its card shows in (empty when it has none).
Refusal 🔒

Constants§

AUDIT_ASK 🔒
The audit entry’s action for an ask.

Functions§

agent_named 🔒
ask 🔒
Where an ask for the pair stands, asking the person when they have not been asked.
asker_named 🔒
The agent a request’s token names, with the pane its card shows in. no_token is what a request with none is told.
asker_of 🔒
handle_folder_overlap_ask 🔒
refuse 🔒