internal_user

The caller's internal-staff (DBInternalUser) membership and access tier.

Returns is_internal_user=false (rather than 403) for a non-internal user, so the admin app can gate login and role-scope its UI in one call.

get/internal_user/me

Response

successful operation

has_sudoboolean nullable
internal_role'auditor' | 'support' | 'manager' | 'admin' nullable

Access tier when internal; null otherwise.

is_internal_userboolean required

Active DBInternalUser membership.

Changes