feat(sharing): settings toggle + global shared-sessions list #203
No reviewers
Labels
No labels
backend
bug
chore
duplication
effort:complex
effort:medium
effort:trivial
enhancement
frontend
fullstack
priority:high
ready-for-agent
refactor
security
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dries/ocman!203
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/share-settings-toggle"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
POST /api/session/{id}/sharereturns 403; existing links keep working until revoked.GET /api/shares) so every active share link can be found, inspected (jump to the session), copied, and revoked from one place.Implementation
sharing_enabledkey in thesettingtable (absent = on).ListAllActiveShareLinks,handleSharingSetting,handleAllShares, create-handler guard.SharingSettingscomponent + api methods; revoke reuses the per-session endpoint.Testing
SharingSettings.test.tsx(toggle persist/revert, list + revoke).go test,go vet,pnpm lint,tsc, platform-branching check all pass.Coverage ratchet: ✅ pass
Tolerance: -0.1%. Baseline stored on
gh-pages.