Allow for the key payload to be serialized and deserialized.
This is needed later for verifying that the payload is correctly
structured and a device is also identified by the identity public key.
Paths
| Differential D7298 Authored by • jon on Apr 4 2023, 8:02 AM.
Tags None Referenced Files
Details
Summary Allow for the key payload to be serialized and deserialized. This is needed later for verifying that the payload is correctly Test Plan cd services/identity cargo test
Diff Detail
Event TimelineHerald added subscribers: atul, tomek, ashoat. · View Herald TranscriptApr 4 2023, 8:02 AM2023-04-04 08:02:58 (UTC-7) Harbormaster completed remote builds in B17962: Diff 24599.Apr 4 2023, 8:25 AM2023-04-04 08:25:01 (UTC-7) Harbormaster completed remote builds in B17961: Diff 24598.Apr 4 2023, 8:33 AM2023-04-04 08:33:12 (UTC-7) varun added inline comments. This revision now requires changes to proceed.Apr 5 2023, 11:22 AM2023-04-05 11:22:41 (UTC-7) Harbormaster completed remote builds in B18044: Diff 24725.Apr 6 2023, 7:39 AM2023-04-06 07:39:30 (UTC-7) varun added inline comments. This revision is now accepted and ready to land.Apr 6 2023, 12:32 PM2023-04-06 12:32:17 (UTC-7) • jon added inline comments.
Harbormaster completed remote builds in B18139: Diff 24841.Apr 7 2023, 1:45 PM2023-04-07 13:45:07 (UTC-7) Harbormaster completed remote builds in B18141: Diff 24843.Apr 7 2023, 2:34 PM2023-04-07 14:34:53 (UTC-7) Closed by commit rCOMM68bbaa297a06: [Identity] Handle key payload (authored by • jon). · Explain WhyApr 7 2023, 2:53 PM2023-04-07 14:53:03 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 24599 services/identity/Cargo.lock
services/identity/Cargo.toml
services/identity/src/database.rs
|
Instead of two separate (action === 'edit_role') blocks, could we merge the two?
We could move await dbQuery(query); within both the (action === 'create_role') (line 139) and else if (action === 'edit_role') (line 144) blocks?
Not a huge deal, whatever you prefer