summaryrefslogtreecommitdiff
path: root/src/authorization/default.rs
blob: dcec8e2a07f08e9d270adaef8e55bea34141ac7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
    }
}