async fn run_as( state: &AppState, actor: Actor, action: &str, req: LifecycleRequest, ) -> Result<Value, Refusal>