KamoCRM

Close the add-path route around the platform-admin lockout guard

FixSecurityService
Shipped
15 ஆகஸ்ட், 2026 அன்று 1:27 AM UTC
Author
Kamo
Commit
5d8549f

POST replaces an existing administrator's rights, so it can take them away as well as give them — but only the PUT and DELETE paths checked whether the edit would leave nobody able to manage the list. Re-adding the last MANAGE_PLATFORM_ADMINS holder with an empty set was a way around the rule the console shows you, and the recovery from it is a database session.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing