KamoCRM

Require an open god-mode window, not eligibility alone, for CONFIGURE_SYSTEM

FixSecurityService
Shipped
28 ஆகஸ்ட், 2026 அன்று 3:51 AM UTC
Author
Kamo
Commit
04779f9

hasRight was granting the bypass on the raw GD session flag, which SessionPlatformFacts's own javadoc names as the exact anti-pattern it exists to prevent: GD is permanent eligibility, not an open break-glass window. Read via **************** instead, which requires both GD and the deliberate godModeActive flag - otherwise an eligible operator who never opened god mode would silently hold CONFIGURE_SYSTEM at all times. The rights-list check is unchanged.

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