diff options
Diffstat (limited to 'src/authorization/default.rs')
| -rw-r--r-- | src/authorization/default.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/authorization/default.rs b/src/authorization/default.rs new file mode 100644 index 00000000..dcec8e2a --- /dev/null +++ b/src/authorization/default.rs @@ -0,0 +1,14 @@ +#[derive(Debug)] +pub struct Authorizer {} + +impl Default for Authorizer { + fn default() -> Self { + Self {} + } +} + +impl super::Authorizer for Authorizer { + fn authorize(&self, _request: envoy_types::ext_authz::v3::pb::CheckRequest) -> bool { + true + } +} |
