Skip to content

@nogoo9/no-crd / index / isAdminUser

Function: isAdminUser()

isAdminUser(jwtPayload): boolean

Defined in: src/k8s/auth.ts:712

Checks if the caller has administrator privileges, either via OIDC scope/role checks or the AUTH_ADMIN_USERS whitelist.

Parameters

jwtPayload

unknown

Returns

boolean