Added fixed resource/action order in Node.Allowed, added ACL check when signaling, nodes must have signal.{type} permission to send a signal of {type} to a node

graph-rework-2
noah metz 2023-07-23 21:17:31 -06:00
parent dfa420757b
commit 32ac1f618d
1 changed files with 1 additions and 1 deletions

@ -51,7 +51,7 @@ func TestGQLDBLoad(t * testing.T) {
})
p1 := &p1_r
p2_r := NewSimplePolicy(RandID(), NewNodeActions(NodeActions{
"signal": []string{"read"},
"signal": []string{"status"},
}, nil))
p2 := &p2_r