Merge pull request #301 from carlaKC/macaroons-suggestionendpoint

loopd: add suggestions endpoints to macaroon permissions
pull/302/head
Oliver Gugger 4 years ago committed by GitHub
commit 48744e8a2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -80,6 +80,18 @@ var (
Entity: "auth",
Action: "read",
}},
"/looprpc.SwapClient/SuggestSwaps": {{
Entity: "suggestions",
Action: "read",
}},
"/looprpc.SwapClient/GetLiquidityParams": {{
Entity: "suggestions",
Action: "read",
}},
"/looprpc.SwapClient/SetLiquidityParams": {{
Entity: "suggestions",
Action: "write",
}},
}
// allPermissions is the list of all existing permissions that exist
@ -104,6 +116,12 @@ var (
}, {
Entity: "auth",
Action: "read",
}, {
Entity: "suggestions",
Action: "read",
}, {
Entity: "suggestions",
Action: "write",
}}
// macDbDefaultPw is the default encryption password used to encrypt the

Loading…
Cancel
Save