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

Function resolve_builtin_no_chain

nodedb/src/control/security/role.rs:518–522  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

516
517 #[test]
518 fn resolve_builtin_no_chain() {
519 let store = RoleStore::new();
520 let chain = store.resolve_inheritance(&Role::ReadOnly).unwrap();
521 assert_eq!(chain.len(), 1);
522 }
523
524 /// A chain of 8 custom roles (each inheriting from the previous) must
525 /// succeed at grant time and resolve cleanly.

Callers

nothing calls this directly

Calls 1

resolve_inheritanceMethod · 0.80

Tested by

no test coverage detected