Skip to main content

answer_grant

Function answer_grant 

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

The grant giving delegate (an agent, or the work on an issue, Subject::Task) answer for actions of kind at scope in workspace, set by granted_by. Given for one action, it is what “Allow for this issue” records, and lifts that action’s confirmation as an agent’s answer does.