Home
last modified time | relevance | path

Searched refs:rbac_policies (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/authorization/
Dauthorization_engine.cc41 const std::vector<envoy_config_rbac_v3_RBAC*>& rbac_policies) { in CreateAuthorizationEngine() argument
42 if (rbac_policies.empty() || rbac_policies.size() > 2) { in CreateAuthorizationEngine()
47 } else if (rbac_policies.size() == 2 && in CreateAuthorizationEngine()
48 (envoy_config_rbac_v3_RBAC_action(rbac_policies[0]) != kDeny || in CreateAuthorizationEngine()
49 envoy_config_rbac_v3_RBAC_action(rbac_policies[1]) != kAllow)) { in CreateAuthorizationEngine()
55 return absl::make_unique<AuthorizationEngine>(rbac_policies); in CreateAuthorizationEngine()
60 const std::vector<envoy_config_rbac_v3_RBAC*>& rbac_policies) { in AuthorizationEngine() argument
61 for (const auto& rbac_policy : rbac_policies) { in AuthorizationEngine()
Dauthorization_engine.h55 const std::vector<envoy_config_rbac_v3_RBAC*>& rbac_policies);
60 const std::vector<envoy_config_rbac_v3_RBAC*>& rbac_policies);