mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-20 13:28:34 +02:00
In this commit, we update our various firewall interceptors so that they rely on the session ID passed via gRPC metadata to extract a session ID. For the PrivacyMapper and RuleEnforcer, these _MUST_ always contain a session ID and so we error out if one was not found. For the request logger, the session ID is optional and so we pass it to the new SessionID field in the AddActionReq - our bbolt actions DB will not make use of this field on persistence (but our incoming SQL version will). |
||
|---|---|---|
| .. | ||
| caveats.go | ||
| caveats_test.go | ||
| config.go | ||
| log.go | ||
| privacy_mapper.go | ||
| privacy_mapper_test.go | ||
| request_info.go | ||
| request_logger.go | ||
| rule_enforcer.go | ||