Gate DELETE /api/security/org/{id} behind active god mode

FixSecurityService
Shipped
August 2, 2026 at 6:25 PM UTC
Author
Kamo
Commit
6b2cae4

The handler was `public void **************** Long id)` — no HttpServletRequest parameter at all, calling straight through to a bare deleteById. With ResourceServerConfig permitting every request and APIService relaying /api/security/** without gateway auth, destroying any tenant was one anonymous request against a sequential Long id. Nothing in the product calls it: the kamo-internal BFF at **************** exports only GET and PUT. Deleting a tenant is a platform-staff action, so require an authenticated session with god mode actually activated — eligibility (GD) alone is not enough, which the test pins.

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