Skip to content

[PB-7095]: feat(public-share): download public folder files with per-file access, no network credentials - #2360

Draft
terrerox wants to merge 7 commits into
masterfrom
feat/public-folder-listing-no-credentials
Draft

terrerox wants to merge 7 commits into
masterfrom
feat/public-folder-listing-no-credentials

Conversation

@terrerox

@terrerox terrerox commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Description

Public folders now download files with per-file download access and no longer read network credentials. Needs the @internxt/sdk release from internxt/sdk#464 before merge.

  • Thumbnails, previews, single and multi-file downloads, and folder zips use per-file download access
  • Public folder flow no longer reads network credentials
  • Zip close after abort no longer hangs
  • A public folder download fails with an error when every file is denied access

Pending: split into smaller PRs (over the 500-line size check)

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

A zip aborted before any file was added, without an AbortController, never
settled on close(), so a public folder download with every file failing hung.
Track the abort on the zip itself and skip adding files once it is aborted.
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying drive-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: 99adcca
Status: ✅  Deploy successful!
Preview URL: https://719b3073.drive-web.pages.dev
Branch Preview URL: https://feat-public-folder-listing-n.drive-web.pages.dev

View logs

@sonarqubecloud

Copy link
Copy Markdown

@terrerox
terrerox changed the base branch from fix/public-folder-zip-all-files-denied to master November 30, 2026 19:59
@terrerox terrerox changed the title [PB-7095]: refactor(public-share): list public folders without exposing network credentials [PB-7095]: feat(public-share): download public folder files with per-file access, no network credentials Nov 30, 2026

This branch has not been deployed

No deployments
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.

1 participant