Skip to content

Commit 0cbe193

Browse files
committed
perms: add permissions for AccountPayments
Register the /litrpc.Accounts/AccountPayments RPC endpoint in the RequiredPermissions map, requiring read access on the account entity.
1 parent b70ddd3 commit 0cbe193

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

perms/permissions.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ var (
4444
Entity: "account",
4545
Action: "read",
4646
}},
47+
"/litrpc.Accounts/AccountPayments": {{
48+
Entity: "account",
49+
Action: "read",
50+
}},
4751
"/litrpc.Accounts/RemoveAccount": {{
4852
Entity: "account",
4953
Action: "write",

0 commit comments

Comments
 (0)