lnrpc: Add macaroon entry

Require peers read access to subscribe to peer events
This commit is contained in:
Alex Bosworth authored and GitHub committed 2019-12-17 17:05:49 -08:00
1 parent fd4153851d
commit 36e0b027ce
1 file changed
+4
+4
View File
@@ -436,6 +436,10 @@ func mainRPCServerPermissions() map[string][]bakery.Op {
Entity: "macaroon",
Action: "generate",
}},
"/lnrpc.Lightning/SubscribePeerEvents": {{
Entity: "peers",
Action: "read",
}},
}
}