rpcserver: Add flag to BakeMacaroonRequest for allowing external permissions

This commit is contained in:
Turtle
2021-05-17 02:13:38 -04:00
parent d10a682fa9
commit 72a46b8673
4 changed files with 564 additions and 529 deletions

View File

@@ -3803,6 +3803,12 @@ message BakeMacaroonRequest {
// The root key ID used to create the macaroon, must be a positive integer.
uint64 root_key_id = 2;
/*
Informs the RPC on whether to allow external permissions that LND is not
aware of.
*/
bool allow_external_permissions = 3;
}
message BakeMacaroonResponse {
// The hex encoded macaroon, serialized in binary format.