lightning-terminal/firewall
Elle Mouton 26d028f4a5
firewall+firewalldb: extract Account ID and pass to AddActionReq
In this commit we add an optional AccountID to the RequestInfo type.
Then, we populate it if the caveat of the macaroon being used contains
an accounts caveat.

We also add an unused AccountID type to the AddActionReq and pass in the
value from the RequestLogger.
2025-05-21 14:14:13 +02:00
..
caveats.go multi: update lnd dependency to v0.16.0-beta.rc3 2023-03-15 08:36:23 -07:00
caveats_test.go firewall: changes to initial structure 2023-01-27 06:47:11 +02:00
config.go golangci: enable line length linter 2025-02-13 15:50:48 +02:00
log.go multi: update LND and friends 2025-03-26 09:20:52 -05:00
privacy_mapper.go firewall: extract SessionID from gRPC metadata 2025-05-16 11:57:39 +02:00
privacy_mapper_test.go firewall: extract SessionID from gRPC metadata 2025-05-16 11:57:39 +02:00
request_info.go firewall+firewalldb: extract Account ID and pass to AddActionReq 2025-05-21 14:14:13 +02:00
request_logger.go firewall+firewalldb: extract Account ID and pass to AddActionReq 2025-05-21 14:14:13 +02:00
rule_enforcer.go firewall: extract SessionID from gRPC metadata 2025-05-16 11:57:39 +02:00