Merge pull request #3850 from alexbosworth/patch-14
lnrpc: Add macaroon entry for peers subscription
This commit is contained in:
commit
6fef37cc06
@ -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