Skip to content

[PB-5792]: fix/send resourcesToken when creating file entry for shared files#1857

Merged
xabg2 merged 3 commits intomasterfrom
fix/shared-folder-uploads
Feb 13, 2026
Merged

[PB-5792]: fix/send resourcesToken when creating file entry for shared files#1857
xabg2 merged 3 commits intomasterfrom
fix/shared-folder-uploads

Conversation

@jzunigax2
Copy link
Contributor

@jzunigax2 jzunigax2 commented Feb 13, 2026

Description

Pass the resource token if it exists so the user can upload files to Shared folders as Editor.

Related Issues

Related Pull Requests

Checklist

  • Changes have been tested locally.
  • Unit tests have been written or updated as necessary.
  • The code adheres to the repository's coding standards.
  • Relevant documentation has been added or updated.
  • No new warnings or errors have been introduced.
  • SonarCloud issues have been reviewed and addressed.
  • QA Passed

Testing Process

Go to Drive > Try to upload a file
Go to Share > Try to upload a file in a Shared folder (as an Editor)

Additional Notes

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 13, 2026

Deploying drive-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: 526b3f9
Status: ✅  Deploy successful!
Preview URL: https://df76a028.drive-web.pages.dev
Branch Preview URL: https://fix-shared-folder-uploads.drive-web.pages.dev

View logs

@xabg2 xabg2 added the bug Something isn't working label Feb 13, 2026
@xabg2 xabg2 assigned jzunigax2 and unassigned larryrider Feb 13, 2026
@xabg2 xabg2 marked this pull request as ready for review February 13, 2026 08:05
};

return storageClient.createFileEntryByUuid(fileEntry, ownerToken);
return storageClient.createFileEntryByUuid(fileEntry, resourcesToken ?? ownerToken);
Copy link
Collaborator

Choose a reason for hiding this comment

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

@jzunigax2 update the tests, it is very delicate change that can break the upload.
Add also description and what need to tests :)
Thanks!

@xabg2 xabg2 changed the title fix: send resourcesToken when creating file entry in shared view [PB-5792]: fix/send resourcesToken when creating file entry for shared files Feb 13, 2026
@sonarqubecloud
Copy link

@xabg2 xabg2 requested a review from CandelR February 13, 2026 09:23
@xabg2 xabg2 merged commit 9a57964 into master Feb 13, 2026
10 checks passed
@xabg2 xabg2 deleted the fix/shared-folder-uploads branch February 13, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants