From 303cedeeea97c718ba0ede5d14fd6b7ca4bf0cea Mon Sep 17 00:00:00 2001 From: Drew Newberry Date: Tue, 13 Oct 2026 08:36:39 -0700 Subject: [PATCH] test(mxc): restamp expected global policy after the UI overlay Signed-off-by: Drew Newberry --- crates/openshell-server/src/grpc/policy.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/openshell-server/src/grpc/policy.rs b/crates/openshell-server/src/grpc/policy.rs index a5dbd446a..ed5570b5e 100644 --- a/crates/openshell-server/src/grpc/policy.rs +++ b/crates/openshell-server/src/grpc/policy.rs @@ -8702,6 +8702,7 @@ mod tests { let mut policy = openshell_policy::restrictive_default_policy(); policy.ui = Some(openshell_core::proto::UiPolicy::default()); global_policy.ui = policy.ui; + openshell_core::policy_identity::stamp_global_token_grant_owners(&mut global_policy); let sandbox = test_sandbox("create-global", "create-global", policy, Vec::new()); let inputs = resolve_sandbox_create_runtime_inputs(state.as_ref(), &sandbox) .await