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

Function parse_intersects

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

Source from the content-addressed store, hash-verified

405
406 #[test]
407 fn parse_intersects() {
408 let pred = parse_predicate("allowed_groups INTERSECTS $auth.groups").unwrap();
409 assert!(matches!(pred, RlsPredicate::Intersects { .. }));
410 }
411
412 #[test]
413 fn parse_not() {

Callers

nothing calls this directly

Calls 1

parse_predicateFunction · 0.85

Tested by

no test coverage detected