testing/cross_backend/conformance_case.ts view source
ConformanceActingBinding type "principal" | "extra_actor" | "keeper_actor"
import type {ConformanceActingBinding} from '@fuzdev/fuz_app/testing/cross_backend/conformance_case.js'; Which actor the runner writes into a case's params.acting at run time.
An actor id exists only once a fixture has seeded it, so a case names the actor by its relation to the fixture and the runner fills in the id:
principal— the actor of the account the principal's credential names: the keeper's bootstrap actor for the keeper-credential principals (keeper,daemon,token,scoped_token, …), the account's one actor forfresh_non_admin/role_holder/wrong_role. Binding it makes a row hold whether the account has one actor or several: a single-actor account resolves the same actor with or without the selector, a multi-actor one needs it.extra_actor— the keeper's first seeded extra actor (fixture.extra_actors[0]); the fixture must declareextra_actors. With a keeper-credential principal, the request acts as a sibling actor on the keeper's own account that holds none of the keeper's roles.keeper_actor— the keeper's bootstrap actor whatever the principal, so a principal on another account names a real actor that is not its own.
Unavailable for principals that present no account (anonymous,
bearer_browser, malformed_bearer) — the runner throws.