mirror of
https://github.com/vercel/eve.git
synced 2026-09-20 05:35:39 +08:00
e0: prepare changes
This commit is contained in:
committed by
GitHub
parent
6dc84fc33f
commit
b9e6000f06
@@ -187,8 +187,8 @@ Policy lookup failures should throw or deny, never silently allow. Recheck autho
|
||||
|
||||
An approval durably pauses the session and a later request resumes it. Your HTTP boundary must ensure a caller cannot continue or stream a session owned by another tenant. Persist session ownership in your application and check it before proxying:
|
||||
|
||||
- `POST /eve/v1/session/:sessionId`, including `inputResponses`;
|
||||
- `GET /eve/v1/session/:sessionId/stream`.
|
||||
- `POST /eve/v1/session/:sessionId`, including the `continuationToken` and `inputResponses` body fields
|
||||
- `GET /eve/v1/session/:sessionId/stream`
|
||||
|
||||
Built-in approval confirms that a human with access to the session approved the call. It is not a four-eyes workflow that proves a different person or role approved it. For that requirement, create an application-owned approval request, notify eligible approvers through a channel, and have policy return allow only after that request records an authorized decision.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user