KamoCRM

Surface real upload errors, sync god mode to session

Fixkamo-internal
Ya
22 Julai 2026, 18:33 UTC
Mwandishi
kamo
Ahadi ya
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.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila kitu kinaingia kwenye tovuti yako mwenyewe. Anza kwenye mpango wa bure na usome ukurasa huu tena katika mwezi mmoja.

Kuwa Huru MileleMtazamo wa bei