From ff35da5639e61f141fbb012c377eeb9a4e3662ff Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 20 Apr 2024 11:35:26 +0200 Subject: [PATCH] Add API tokens management --- .../src/widgets/tokens/TokenRightsEditor.tsx | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/virtweb_frontend/src/widgets/tokens/TokenRightsEditor.tsx b/virtweb_frontend/src/widgets/tokens/TokenRightsEditor.tsx index 8e6eb4e..a964972 100644 --- a/virtweb_frontend/src/widgets/tokens/TokenRightsEditor.tsx +++ b/virtweb_frontend/src/widgets/tokens/TokenRightsEditor.tsx @@ -471,6 +471,76 @@ export function TokenRightsEditor(p: { + {/* API tokens */} + + + + + + {/* API tokens management */} + + + + + API token name + Get + Update + Delete + + + + {/* All API tokens operations */} + + + All + + + + + + + {/* Per API token operations */} + {p.tokens.map((v, n) => ( + + {v.name} + + + + + ))} + +
+
+ {/* ISO files */}