mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
looprpc: add StaticOpenChannel permissions and fix StaticAddressLoopIn
Add macaroon permissions for the new StaticOpenChannel RPC method and change StaticAddressLoopIn action from read to execute to match other swap operations.
This commit is contained in:
parent
6e4569f916
commit
d4c9ab0630
1 changed files with 7 additions and 0 deletions
|
|
@ -136,6 +136,13 @@ var RequiredPermissions = map[string][]bakery.Op{
|
|||
Entity: "loop",
|
||||
Action: "in",
|
||||
}},
|
||||
"/looprpc.SwapClient/StaticOpenChannel": {{
|
||||
Entity: "deposit",
|
||||
Action: "spend",
|
||||
}, {
|
||||
Entity: "loop",
|
||||
Action: "in",
|
||||
}},
|
||||
"/looprpc.SwapClient/GetLsatTokens": {{
|
||||
Entity: "auth",
|
||||
Action: "read",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue