mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-19 05:45:21 +01:00
rpc: modify the entity of invoice related RPC's to target the invoice entity
In this commit, we modify the existing invoice RPC macaroon permissions to target a more specific entity: “invoices”. As a result of this commit, once node operators update, they’ll need to regenerate their readonly.macaroon as it now needs this additional entity encoded within it.
This commit is contained in:
parent
6a294e7489
commit
a07579c541
@ -218,19 +218,19 @@ var (
|
||||
Action: "write",
|
||||
}},
|
||||
"/lnrpc.Lightning/AddInvoice": {{
|
||||
Entity: "offchain",
|
||||
Entity: "invoices",
|
||||
Action: "write",
|
||||
}},
|
||||
"/lnrpc.Lightning/LookupInvoice": {{
|
||||
Entity: "offchain",
|
||||
Entity: "invoices",
|
||||
Action: "read",
|
||||
}},
|
||||
"/lnrpc.Lightning/ListInvoices": {{
|
||||
Entity: "offchain",
|
||||
Entity: "invoices",
|
||||
Action: "read",
|
||||
}},
|
||||
"/lnrpc.Lightning/SubscribeInvoices": {{
|
||||
Entity: "offchain",
|
||||
Entity: "invoices",
|
||||
Action: "read",
|
||||
}},
|
||||
"/lnrpc.Lightning/SubscribeTransactions": {{
|
||||
|
Loading…
Reference in New Issue
Block a user