Skip to content

Supervision: an SS that defers until the agent's request expires leaves no time to ask the person #281

Open

Description

@joshuagay

draft-hardt-aauth-supervision.md at 70d6737:

  • L288 (Deferred Decisions): "The PS polls until it has a decision or until the agent's own pending request at the PS would expire. At that point the PS treats the SS as unavailable for this decision (#unavailable), and a decision the SS returns afterwards is discarded."
  • L609 (Unavailable Supervisor): "An SS that answers 202 is not unavailable; the PS polls it as (#deferred-decisions) describes, and it becomes unavailable for that decision only when the agent's request would expire first."
  • L611 (Unavailable Supervisor): "When the SS is unavailable, the PS puts the act to the person, as it would with no SS configured."
  • L572 (decision.resolved): "answer (REQUIRED): allow or deny, or abandoned when the person did not answer before the request expired."

For a deferred decision, the SS becomes unavailable at the moment the agent's request expires. That is when L611 has the PS put the act to the person, and the request the person would answer is already gone. The draft does not say whether the act then ends unanswered, or whether the PS stops polling early enough to ask the person.

Ask: Say which. For the first: "When the agent's request expires while the PS is still polling, the act ends unanswered, and the PS reports decision.resolved with answer abandoned and supervisor unavailable." For the second, have the PS stop polling at a margin before the agent's request expires that leaves time to ask the person.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions