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