diff --git a/virtweb_frontend/src/widgets/tokens/TokenRightsEditor.tsx b/virtweb_frontend/src/widgets/tokens/TokenRightsEditor.tsx index 8031421..5db5115 100644 --- a/virtweb_frontend/src/widgets/tokens/TokenRightsEditor.tsx +++ b/virtweb_frontend/src/widgets/tokens/TokenRightsEditor.tsx @@ -51,12 +51,12 @@ export function TokenRightsEditor(p: { VM name - Get definition - Update - Delete - Get XML definition - Get autostart - Set autostart + Get definition + Update + Delete + Get XML definition + Get autostart + Set autostart @@ -127,15 +127,15 @@ export function TokenRightsEditor(p: { VM name - Get state - Start - Shutdown - Kill - Reset - Suspend - Resume - Screenshot - VNC token + Get state + Start + Shutdown + Kill + Reset + Suspend + Resume + Screenshot + VNC token @@ -236,6 +236,152 @@ export function TokenRightsEditor(p: { + + {/* Networks */} + + + + + + {/* Networks management */} + + + + + Network name + Get definition + Update + Delete + Get XML definition + Get autostart + Set autostart + Get status + Start + Stop + + + + {/* All networks operations */} + + + All + + + + + + + + + + + + + {/* Per network operations */} + {p.networks.map((v, n) => ( + + {v.name} + + + + + + + + + + + ))} + +
+
+ {/* ISO files */} - toggle(a)} + /> + } + label={p.label} + /> + ) : ( + toggle(a)} /> - } - label={p.label} - /> + + )} );