From 32ac1f618d6ac3fcd0da26f287e3a707fe17bcff Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Sun, 23 Jul 2023 21:17:31 -0600 Subject: [PATCH] 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 --- gql_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gql_test.go b/gql_test.go index db91bdf..f107592 100644 --- a/gql_test.go +++ b/gql_test.go @@ -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