lnrpc: Add macaroon entry
Require peers read access to subscribe to peer events
This commit is contained in:
1 parent
fd4153851d
commit
36e0b027ce
1 file changed
+4
@@ -436,6 +436,10 @@ func mainRPCServerPermissions() map[string][]bakery.Op {
|
|||||||
Entity: "macaroon",
|
Entity: "macaroon",
|
||||||
Action: "generate",
|
Action: "generate",
|
||||||
}},
|
}},
|
||||||
|
"/lnrpc.Lightning/SubscribePeerEvents": {{
|
||||||
|
Entity: "peers",
|
||||||
|
Action: "read",
|
||||||
|
}},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user