KamoCRM

GD-ul unei sesiuni delegate are nevoie de o fereastră de mod divin

FixBillingService
Shipped
15 noiembrie 2026 la 06:00 UTC
Author
Kamo
Commit
291de32

GodModeVerifier.godPass este acum singura regulă de Dumnezeu în BillingService: users.is_god re-citi din DB, și cu o sesiune pe cerere (creat pentru membru) o fereastră deschisă || (GD && !delegated), delegat fiind un SUDO_MEMBER_ID non-blank (Utilizator de sistem / impersonare), shared-lib godPassesRightChecks; fără o sesiune, utilizatorul de sistem este PlatformAdminInterceptor și EnterprisePlanGuard îl folosesc și nu au niciodată probleme dă god pass-ul (nu false/fereastra) la PlatformRightsResolver; isActingAsGod și isGod (portile proprietar/vânzător) o folosesc și ele.

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