lnrpc: Add macaroon entry

Require peers read access to subscribe to peer events
This commit is contained in:
Alex Bosworth 2019-12-17 17:05:49 -08:00 committed by GitHub
parent fd4153851d
commit 36e0b027ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -436,6 +436,10 @@ func mainRPCServerPermissions() map[string][]bakery.Op {
Entity: "macaroon",
Action: "generate",
}},
"/lnrpc.Lightning/SubscribePeerEvents": {{
Entity: "peers",
Action: "read",
}},
}
}