lnrpc: Add macaroon entry
Require peers read access to subscribe to peer events
This commit is contained in:
parent
fd4153851d
commit
36e0b027ce
|
@ -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",
|
||||||
|
}},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user