summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-16 10:45:04 -0600
committermo khan <mo@mokhan.ca>2025-07-16 10:45:04 -0600
commit81c6991616ef0f9cd4134d398c5b7cee2c6665de (patch)
treedef5e984db9cb07dcf55d267d108bfb3228974ec /src
parent0c75a5dc1f3b76c593035f29b422db8c25356325 (diff)
test: start to flush out test for spice authorizer
Diffstat (limited to 'src')
-rw-r--r--src/authorization/spice/authorizer.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/authorization/spice/authorizer.rs b/src/authorization/spice/authorizer.rs
index da2805b9..d906752f 100644
--- a/src/authorization/spice/authorizer.rs
+++ b/src/authorization/spice/authorizer.rs
@@ -1,6 +1,12 @@
#[derive(Debug)]
pub struct Authorizer {}
+impl Authorizer {
+ pub fn new() -> Authorizer {
+ Authorizer {}
+ }
+}
+
impl crate::authorization::authorizer::Authorizer for Authorizer {
fn authorize(&self, _request: envoy_types::ext_authz::v3::pb::CheckRequest) -> bool {
false