Function set
pub fn set(
workspace: &str,
agent: &str,
_: (&AnswerScope, ActionKind),
answer: Option<Answer>,
_: (Subject, &[Grant]),
) -> Vec<Change>Expand description
The changes setting agent’s answer for kind at scope in a workspace
holding held: the earlier answer is revoked, so the new one replaces
it. None clears the answer, returning the scope to what the agent’s
admission and broader answers say.