mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
perms: add permissions for AccountPayments
Register the /litrpc.Accounts/AccountPayments RPC endpoint in the RequiredPermissions map, requiring read access on the account entity.
This commit is contained in:
parent
6754acc17b
commit
1abbbe649c
1 changed files with 4 additions and 0 deletions
|
|
@ -44,6 +44,10 @@ var (
|
|||
Entity: "account",
|
||||
Action: "read",
|
||||
}},
|
||||
"/litrpc.Accounts/AccountPayments": {{
|
||||
Entity: "account",
|
||||
Action: "read",
|
||||
}},
|
||||
"/litrpc.Accounts/RemoveAccount": {{
|
||||
Entity: "account",
|
||||
Action: "write",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue