Browse Source

Merge branch 'NET-258' of https://github.com/gravitl/netmaker into NET-258-latest

Abhishek Kondur 2 năm trước cách đây
mục cha
commit
8b2db29ccc
1 tập tin đã thay đổi với 10 bổ sung0 xóa
  1. 10 0
      mq/emqx.go

+ 10 - 0
mq/emqx.go

@@ -281,6 +281,16 @@ func CreateHostACL(hostID, serverName string) error {
 				Permission: "allow",
 				Action:     "all",
 			},
+			{
+				Topic:      fmt.Sprintf("peer/host/%s/%s", hostID, serverName),
+				Permission: "allow",
+				Action:     "all",
+			},
+			{
+				Topic:      fmt.Sprintf("fw/host/%s/%s", hostID, serverName),
+				Permission: "allow",
+				Action:     "all",
+			},
 			{
 				Topic:      fmt.Sprintf("dns/all/%s/%s", hostID, serverName),
 				Permission: "allow",