Closed ellemouton closed 1 year ago
gonna add something else shortly 🤓
Ok ya'll! thanks for your patience! The PR has been updated quite a bit. Here are the changes:
ok I tacked on a temporary commit here now labeled temp:...
i'll squash it in in a nicer way tomorrow
re-requesting since the change to only link by group ID.
Requesting from @guggero for architectural ACK
With this PR, we add the ability for a client to link a new autopilot session with a previous set of revoked ones. If this is done, then the same privacy mapper is used for the linked sessions & the actions and rules db is also shared across sessions.
PR Flow:
autopilotserver.proto
to have the new fields required to link sessions. These include the session group key along with a sig to prove ownership of the linked session.GroupID
to theSession
store. The group ID is the ID of the very first session in the group of linked sessions.litrpc
sSession
andAddAutopilotSessionRequest
messages to include alinked group ID
.ListGroupActions
method to the firewall DB that allows us to query the DB for all actions of a specific group.TODO: