diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-16 10:45:04 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-16 10:45:04 -0600 |
| commit | 81c6991616ef0f9cd4134d398c5b7cee2c6665de (patch) | |
| tree | def5e984db9cb07dcf55d267d108bfb3228974ec /src/authorization | |
| parent | 0c75a5dc1f3b76c593035f29b422db8c25356325 (diff) | |
test: start to flush out test for spice authorizer
Diffstat (limited to 'src/authorization')
| -rw-r--r-- | src/authorization/spice/authorizer.rs | 6 |
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 |
