You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0f63965
Browse filesBrowse the repository at this point in the historyBrowse files
docs(comments): correct four docblock sites that still describe the retired platform-admin elevation gate (#13907)
The #11663 platform-admin re-anchor (legs L2 and L4) retired the walled
platform-admin elevation gate: standing is now derived per request, from an
env-configured verified email OR the legacy unscoped grant row. Four comment
sites still described the retired mechanism.
- packages/types/src/email-verified.ts: the docblock named the elevation gate
as one of exactly two consumers. It ships in the package's .d.ts, so the
wrong consumer set reaches consumers. Replaced with the live consumer set,
which now includes the authorization derivation itself.
- packages/plugins/plugin-auth/src/last-admin-guard.ts, the docblock above
PERMISSION_SET_STANDING_KEYS: three consequences of the same dead premise —
"un-makes every platform admin at once", "never from the capabilities it
carries", and "UNSCOPED sys_user_permission_set grants only".
Comment-only. `active` deliberately stays in PERMISSION_SET_STANDING_KEYS and
the corrected prose now says why: it is a safety-side over-approximation, and
removing it would be a behaviour change.
Claude-Session: https://claude.ai/code/session_016ZC5rNQj3WEet5HAmmAkMs
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments