Skip to content

Commit

Permalink
WIP:Modified ACL for attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
kauncoder committed Feb 8, 2024
1 parent f7a26e2 commit f52d3cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions zenoh/src/net/routing/interceptor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ mod authz;
use std::sync::Arc;

use super::RoutingContext;
//use crate::net::routing::interceptor::authz;
use crate::net::routing::interceptor::{accessintercept::AclEnforcer, authz::NewPolicyEnforcer};
use zenoh_config::Config;
use zenoh_protocol::network::NetworkMessage;
Expand Down Expand Up @@ -62,7 +61,7 @@ pub(crate) fn interceptor_factories(_config: &Config) -> Vec<InterceptorFactory>
*/

/* if config condition is selected this will be initialiased; putting true for now */
if false {
if true {
println!("the interceptor is initialized");
let mut policy_enforcer = NewPolicyEnforcer::new().unwrap(); //(HashMap::new());
match policy_enforcer.init() {
Expand Down

0 comments on commit f52d3cd

Please sign in to comment.