Skip to content

Commit

Permalink
Update Reply(egress) keyexpr logic in ACL interceptor
Browse files Browse the repository at this point in the history
  • Loading branch information
oteffahi committed Jul 25, 2024
1 parent 7c21ce0 commit 9d08747
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions zenoh/src/net/routing/interceptor/access_control.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,11 +360,8 @@ impl InterceptorTrait for EgressAclEnforcer {
return None;
}
}
NetworkBody::Response(Response { wire_expr, .. }) => {
// @TODO: Remove wire_expr usage when issue #1255 is implemented
if self.action(AclMessage::Reply, "Reply (egress)", wire_expr.as_str())
== Permission::Deny
{
NetworkBody::Response(Response { .. }) => {
if self.action(AclMessage::Reply, "Reply (egress)", key_expr?) == Permission::Deny {
return None;
}
}
Expand Down

0 comments on commit 9d08747

Please sign in to comment.