Skip to content

feat: add source bucket DID to authorize response - #72

Merged
alanshaw merged 2 commits into
mainfrom
ash/feat/authorize-source-bucket
Sep 14, 2026
Merged

alanshaw merged 2 commits into
mainfrom
ash/feat/authorize-source-bucket

Conversation

@alanshaw

Copy link
Copy Markdown
Member

When the authorized request is for a copy, include the source bucket (space) DID in the repsonse.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃煛 Changes recommended

Add non-empty SourceBucket coverage to the round-trip test.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Adds an optional source bucket DID to AuthorizeOK responses for copy requests.

Changes:

  • Adds SourceBucket to AuthorizeOK.
  • Updates DAG-JSON and CBOR serialization.
File summaries
File Summary
commands/s3/request/types.go Defines the optional source bucket DID. Nit: add a distinct source DID to TestAuthorizeOKRoundTrip.
commands/s3/request/json_gen.go Adds DAG-JSON encoding and decoding support.
commands/s3/request/cbor_gen.go Adds CBOR encoding and decoding support.
Review details

Files not reviewed (2)

  • commands/s3/request/cbor_gen.go: Generated file
  • commands/s3/request/json_gen.go: Generated file
  • Files reviewed: 1/3 changed files
  • Comments generated: 1
  • Review effort level: Lite

馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread commands/s3/request/types.go
@alanshaw
alanshaw merged commit 63f5b20 into main Sep 14, 2026
8 checks passed
@alanshaw
alanshaw deleted the ash/feat/authorize-source-bucket branch September 14, 2026 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants