commit | c147b6aac8960a5240803c3d2efd81ab17a5ef41 | [log] [tgz] |
---|---|---|
author | Adrià Vilanova Martínez <me@avm99963.com> | Wed Sep 01 17:25:38 2021 +0200 |
committer | Adrià Vilanova Martínez <me@avm99963.com> | Thu Sep 02 13:52:57 2021 +0200 |
tree | 2a6c47a1857fcd1a744170b8c64e042d405aaa2b | |
parent | 25e1211395cfecfbccad20f91fa03b9cd715b008 [diff] |
Add credential checks This change adds authentication/credential checks to sensitive API methods, depending on the access level granted to the authenticated user. It also adds the logic to save the authenticated user to the audit log entries. Note: the protobuf definitions were updated in a backwards-incompatible way (KillSwitchAuthorizedUser.AccessLevel enum). This can be done since this product hasn't yet launched. Fixed: twpowertools:46 Change-Id: I9bf888d6108f463369143610d4bd5b256035b68f
TWPT-server is the code for the TW Power Tools gRPC server and its frontend.
This repository is under active development, and is not ready yet for production.