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:
cyberguru1 2026-05-28 17:29:12 -05:00
parent 6754acc17b
commit 1abbbe649c
No known key found for this signature in database
GPG key ID: F0FB5ECF1A8786E6

View file

@ -44,6 +44,10 @@ var (
Entity: "account",
Action: "read",
}},
"/litrpc.Accounts/AccountPayments": {{
Entity: "account",
Action: "read",
}},
"/litrpc.Accounts/RemoveAccount": {{
Entity: "account",
Action: "write",