From 2305f766ca68de5793c3b5d2f9ee646d14ae4d42 Mon Sep 17 00:00:00 2001 From: Alek Westover Date: Fri, 7 Jul 2023 11:40:59 -0400 Subject: [PATCH] turn anon ON --- control_plane/src/endpoint.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/control_plane/src/endpoint.rs b/control_plane/src/endpoint.rs index 30e86cb12d..f33d494316 100644 --- a/control_plane/src/endpoint.rs +++ b/control_plane/src/endpoint.rs @@ -497,7 +497,9 @@ impl Endpoint { // // The proper way to implement this is to pass the custom extension // in spec, but we don't have a way to do that yet in the python tests. - custom_extensions: Some(vec![self.tenant_id.to_string()]), + // NEW HACK: we enable the anon custom extension for everyone! this is of course just for testing + // how will we do it for real? + custom_extensions: Some(vec!["anon".to_string()]), }; let spec_path = self.endpoint_path().join("spec.json"); std::fs::write(spec_path, serde_json::to_string_pretty(&spec)?)?;