From 542fe1f52dd5b423ee85b3d97c354ba30bf3ac3f Mon Sep 17 00:00:00 2001 From: Victoria Brekenfeld Date: Wed, 8 Nov 2023 14:50:54 +0100 Subject: [PATCH] state: fix privileged access with sec context --- src/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state.rs b/src/state.rs index 4dd98dca..9bd3db61 100644 --- a/src/state.rs +++ b/src/state.rs @@ -308,7 +308,7 @@ pub fn client_should_see_privileged_protocols(client: &Client) -> bool { { client_is_privileged(client) } else { - client_has_no_security_context(client) + client_is_privileged(client) || client_has_no_security_context(client) } }