Skip to main content

grant

Function grant 

pub fn grant(
    workspace: &str,
    agent: &str,
    _: (&AnswerScope, ActionKind),
    answer: Answer,
    granted_by: Subject,
) -> Grant
Expand description

The grant giving agent answer for actions of kind at scope in workspace, set by granted_by.