MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / empty_policies_allow_all

Function empty_policies_allow_all

nodedb/src/control/security/predicate.rs:366–370  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

364
365 #[test]
366 fn empty_policies_allow_all() {
367 let auth = make_auth();
368 let filters = combine_policies(&[], &auth).unwrap();
369 assert!(filters.is_empty());
370 }
371
372 #[test]
373 fn parse_simple_equality() {

Callers

nothing calls this directly

Calls 2

combine_policiesFunction · 0.85
make_authFunction · 0.70

Tested by

no test coverage detected