Connect as the logged-in user on a user-auth mesh. No profile/role argument — there is no
instrument mint on this path; ledger scope is the grant and epCaller comes from the bearer
principal. Prefer this over connectOrExit(..., someRole) whenever the caller already knows
(or has just learned) the mesh is user-mode: a dummy role is a value that is meaningless today
and wrong the day this path starts consulting it.
If this function is ever changed to accept or consult a Profile, every caller is wrong.
A caller that must record a refusal before it fails, such as up's same-principal resume, which
degrades its maintenance journal with the reason, calls connectUserControlOrThrow. This
form only supplies the exiting disposition.
Connect as the logged-in user on a user-auth mesh. No profile/role argument — there is no instrument mint on this path; ledger scope is the grant and
epCallercomes from the bearer principal. Prefer this overconnectOrExit(..., someRole)whenever the caller already knows (or has just learned) the mesh is user-mode: a dummy role is a value that is meaningless today and wrong the day this path starts consulting it.If this function is ever changed to accept or consult a Profile, every caller is wrong.
A caller that must record a refusal before it fails, such as
up's same-principal resume, which degrades its maintenance journal with the reason, calls connectUserControlOrThrow. This form only supplies the exiting disposition.