diff --git a/implementations/rust/ockam/ockam_api/src/nodes/service.rs b/implementations/rust/ockam/ockam_api/src/nodes/service.rs index 9f94916678b..93198e48351 100644 --- a/implementations/rust/ockam/ockam_api/src/nodes/service.rs +++ b/implementations/rust/ockam/ockam_api/src/nodes/service.rs @@ -211,18 +211,10 @@ impl NodeManager { if self.policies.get_policy(r, a).await?.is_none() { let fallback = match custom_default { Some(e) => e.clone(), - None => and([ - eq([ident("resource.project_id"), ident("subject.project_id")]), // TODO: DEPRECATE - Removing PROJECT_ID attribute in favor of TRUST_CONTEXT_ID - /* - * TODO: replace the project_id check for trust_context_id. For now the - * existing authority deployed doesn't know about trust_context so this is to - * be done after updating deployed authorities. - eq([ - ident("resource.trust_context_id"), - ident("subject.trust_context_id"), - ]), - */ - ]), + None => and([eq([ + ident("resource.trust_context_id"), + ident("subject.trust_context_id"), + ])]), }; self.policies.set_policy(r, a, &fallback).await? }