Surface real upload errors, sync god mode to session

Fixkamo-internal
Shipped
July 22, 2026 at 6:33 PM UTC
Author
kamo
Commit
035152a

"Save failed: Full logo upload failed" discarded the status and body, so a 403 from the branding gate read identically to a MinIO outage. The server's own message ("Requires organization ownership or the Manage Organization Branding right") was already in the response and thrown away. The background upload in the same handler has always reported status + body; logos and colors now match. Also mirrors god mode into the *** session via the new /api/session/god-mode endpoint. Backend gates read godModeActive off the session, so a flag living only in localStorage was invisible to them and every server-side god bypass stayed shut. Re-asserted once userInfo resolves because sessions are per-tab: a fresh tab starts with the field unset even when localStorage still says the toggle is on.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing