We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cde651 commit bdaa08fCopy full SHA for bdaa08f
1 file changed
crates/openshell-server/src/auth/oidc.rs
@@ -51,6 +51,8 @@ const SANDBOX_METHODS: &[&str] = &[
51
"/openshell.v1.OpenShell/SubmitPolicyAnalysis",
52
"/openshell.sandbox.v1.SandboxService/GetSandboxConfig",
53
"/openshell.inference.v1.Inference/GetInferenceBundle",
54
+ "/openshell.v1.OpenShell/ConnectSupervisor",
55
+ "/openshell.v1.OpenShell/RelayStream",
56
];
57
58
/// Methods that accept either an OIDC Bearer token (CLI users, full scope)
@@ -469,6 +471,10 @@ mod tests {
469
471
assert!(is_sandbox_method(
470
472
"/openshell.inference.v1.Inference/GetInferenceBundle"
473
));
474
+ assert!(is_sandbox_method(
475
+ "/openshell.v1.OpenShell/ConnectSupervisor"
476
+ ));
477
+ assert!(is_sandbox_method("/openshell.v1.OpenShell/RelayStream"));
478
}
479
480
#[test]
0 commit comments