summaryrefslogtreecommitdiff
path: root/src/authorization/default.rs
blob: 578ddd4d76e15743117d9278715a959dcca567bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#[derive(Debug)]
pub struct Authorizer {}

impl Authorizer {
    pub fn new() -> Self {
        Self {}
    }
}

impl Default for Authorizer {
    fn default() -> Self {
        Self::new()
    }
}

impl super::Authorizer for Authorizer {
    fn authorize(&self, _request: crate::rpc::envoy::service::auth::v3::CheckRequest) -> bool {
        true
    }
}