Skip to content

fix(ipfs): forward permissions through uploadMultipleDocuments - #195

Open
ZacLou wants to merge 1 commit into
ourdao:mainfrom
ZacLou:fix/upload-multiple-permissions
Open

fix(ipfs): forward permissions through uploadMultipleDocuments#195
ZacLou wants to merge 1 commit into
ourdao:mainfrom
ZacLou:fix/upload-multiple-permissions

Conversation

@ZacLou

@ZacLou ZacLou commented Sep 1, 2026

Copy link
Copy Markdown

Closes #181

uploadMultipleDocuments ignored its callers permissions intent and silently defaulted every batch-uploaded document to { public: !encrypted }. This adds an optional permissions argument and passes it through to createDocumentMetadata for each file, and updates DocumentUpload.tsx to pass permissions directly instead of remapping metadata after upload.

…o#181)

uploadMultipleDocuments ignored its callers' permissions intent and
silently defaulted every batch-uploaded document to { public: !encrypted }.

- Add an optional permissions argument to uploadMultipleDocuments.
- Pass it through to createDocumentMetadata for each file.
- Update DocumentUpload.tsx to pass permissions directly instead of
  remapping metadata after upload.
- Add a test asserting permissions are applied to every item.

Closes ourdao#181
@vercel

vercel Bot commented Sep 1, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Meshack Yaro's projects Team on Vercel.

A member of the Team first needs to authorize it.

@ZacLou

ZacLou commented Sep 1, 2026

Copy link
Copy Markdown
Author

Hi @bbjiggy, the Vercel deployment check is failing with 'Authorization Required' for team 'Meshack Yaro'''s projects'. As an external contributor I don't have permission to authorize Vercel for this team. Could you please click the authorize link in the failing check? The code change itself is ready for review. Thanks!

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.

uploadMultipleDocuments discards its permissions argument

1 participant