feat: refactor rbac/sharing to support new permissions and auth types

This commit is contained in:
LukeGus
2026-07-16 17:36:32 -05:00
parent 552ceefec2
commit 3cc51fe920
72 changed files with 6258 additions and 3761 deletions
@@ -143,7 +143,7 @@ export function registerWireGuardRoutes(
validateHostId,
managerHandler(
runOnHost,
"read",
"connect",
"wireguard_read",
async (client, host) => {
const result = await execElevated(
@@ -194,7 +194,7 @@ export function registerWireGuardRoutes(
validateHostId,
managerHandler(
runOnHost,
"execute",
"connect",
"wireguard_action",
async (client, host, req) => {
const { interface: iface, action } = req.body as {