mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-28 16:58:31 +01:00
Propagate account member removals, demotions, promotions, and re-additions into every workspace organization record so removed or demoted members lose workspace authority immediately while restored members regain workspace access cleanly. Restrict tenant-bound magic-link owner seeding to accounts with no existing members so stored checkout contact email cannot restore a removed member. Read control-plane audit actor IDs only from authenticated request context instead of client-controlled headers. Bound audit event text fields before queuing, signing, and storage in pkg/audit so oversized request fields cannot cause memory exhaustion during audit exports. Contract-Neutral: Security hardening for control-plane membership sync, audit actor attribution, and audit event size bounds without public API contract changes