thunderhub icon indicating copy to clipboard operation
thunderhub copied to clipboard

Can't re-recreate invoice macaroon with macaroon baking options

Open futurepaul opened this issue 4 years ago • 0 comments

Describe the problem/bug I'm trying to use ThunderHub's macaroon bakery to make an invoice macaroon, but I can't find the corresponding options for each required permission (possibly due to the plain english wording, but also I believe address:read is missing). Here are the permissions I need:

	invoicePermissions = []bakery.Op{
		{
			Entity: "invoices",
			Action: "read",
		},
		{
			Entity: "invoices",
			Action: "write",
		},
		{
			Entity: "address",
			Action: "read",
		},
		{
			Entity: "address",
			Action: "write",
		},
		{
			Entity: "onchain",
			Action: "read",
		},
	}

Your environment

  • Version of ThunderHub: 0.12.24
  • Deployment method: Voltage

futurepaul avatar Sep 20 '21 14:09 futurepaul