Serve shared notes from stable links - #7062
Merged
Merged
Conversation
✅ Deploy Preview for anarlog ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
ComputelessComputer
force-pushed
the
fix/stable-share-links
branch
from
August 24, 2026 12:08
1641b0e to
f9ed8bb
Compare
Add a stable public gateway on the canonical share URL while preserving access controls and legacy links.
ComputelessComputer
marked this pull request as ready for review
August 24, 2026 12:20
ComputelessComputer
force-pushed
the
fix/stable-share-links
branch
from
August 24, 2026 12:21
f9ed8bb to
cc759cd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a stable public gateway on the canonical share URL while preserving access controls and legacy links.
Note
High Risk
Exposes new unauthenticated public endpoints that resolve shared-note content, attachments, and desktop handoff by stable share ID. Access is gated to link/public scope, but mistakes here leak meeting notes.
Overview
Adds a stable public gateway on
/shared-notes/share/{share_id}so canonical share URLs can serve notes without rotating tokens. Legacy public-slug and secret-link routes stay in place.New unauthenticated routes cover snapshot, preview, one-time desktop handoff, and attachment download. Reads go through
gateway_read_stable_session_share_*RPCs and only succeed whengeneral_scopeislinkorpublic. Snapshot responses includeaccessScopeplus the existing snapshot payload.Desktop i18n drops the unused “Replace link & copy” string after the management panel no longer rotates links.
Reviewed by Cursor Bugbot for commit cc759cd. Bugbot is set up for automated code reviews on this repo. Configure here.