The space role middleware was blocking all POST/PUT requests from unauthenticated users with a 403, preventing the thread builder's save draft and share buttons from working. Added publicWrite module flag to bypass the role check for modules with public API endpoints. Also fixed saveDraft() to properly surface server errors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| db | ||
| local-first | ||
| x402 | ||
| module.ts | ||
| tab-cache.ts | ||
| url-helpers.ts | ||