Skip to content

Commit 303cede

Browse files
committed
test(mxc): restamp expected global policy after the UI overlay
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
1 parent bacd0ac commit 303cede

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎crates/openshell-server/src/grpc/policy.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8702,6 +8702,7 @@ mod tests {
87028702
let mut policy = openshell_policy::restrictive_default_policy();
87038703
policy.ui = Some(openshell_core::proto::UiPolicy::default());
87048704
global_policy.ui = policy.ui;
8705+
openshell_core::policy_identity::stamp_global_token_grant_owners(&mut global_policy);
87058706
let sandbox = test_sandbox("create-global", "create-global", policy, Vec::new());
87068707
let inputs = resolve_sandbox_create_runtime_inputs(state.as_ref(), &sandbox)
87078708
.await

0 commit comments

Comments
 (0)