-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client should authorize Gateway to space/content/serve
Spaces by default
#158
Comments
space/content/serve
space/content/serve
space/content/serve
space/content/serve
space/content/serve
Spaces by default
Gateway Content Serve Authorization Flowflowchart TD
subgraph Client Side
A[User] -->|Creates Space & Authorizes Gateway| B[w3up-client]
end
subgraph Cloudflare Workers
C[Access/Delegate Endpoint]
F[Freeway Worker]
end
subgraph KV Storage
D[Delegations Store]
end
B -->|UCAN: access/delegate| C
C -->|Validates Space & Proof Chain| E[Validate Space Exists & Capability]
E -->|Stores Valid Delegation| D
F -->|Retrieves Delegation| D[Delegations Store]
Explanation
Key Considerations
|
The Uploader says, "I generally want people to access the files I upload, so now that the Gateway will require authorization, I need to authorize it.
Acceptance Criteria
space/content/serve/*
must be stored in the Delegations Store (Freeway can learn aboutspace/content/serve/*
delegations #160), so the Gateway can find it, validate, and authorize the request.egress-traffic-events
store in DynamoDB each time the content is requested. Without the properspace/content/serve/*
delegation the egress event is not generated.Main Tasks
approved
: feat!: content serve authorization w3up#1590approved
: feat!: content serve authorization w3up#1590Open Questions
The text was updated successfully, but these errors were encountered: