Resolve the engine's WorkflowAccess for a client — actor and grants
(when a path is supplied) fetched from its token in parallel and cached.
Throws if the client can't yield an actor — the engine refuses to operate
without an identity. A grants-fetch failure degrades open instead: the
rendered $can stays undefined and the real Sanity write boundary still
enforces. Does not fetch User Attributes; see resolveUserAttributes.
Resolve the engine's
WorkflowAccessfor a client — actor and grants (when a path is supplied) fetched from its token in parallel and cached. Throws if the client can't yield an actor — the engine refuses to operate without an identity. A grants-fetch failure degrades open instead: the rendered$canstays undefined and the real Sanity write boundary still enforces. Does not fetch User Attributes; see resolveUserAttributes.