From 3c5e2b1aaa2663f5d93edda480b005c057d83460 Mon Sep 17 00:00:00 2001 From: Jage9 Date: Fri, 27 Feb 2026 19:37:31 -0500 Subject: [PATCH] Remove client-side admin permission lock guard --- client/public/version.js | 2 +- client/src/main.ts | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/client/public/version.js b/client/public/version.js index b5b23a4..e94c0f9 100644 --- a/client/public/version.js +++ b/client/public/version.js @@ -1,5 +1,5 @@ // Maintainer-controlled web client version. // Format: YYYY.MM.DD Rn (example: 2026.02.20 R2) -window.CHGRID_WEB_VERSION = "2026.02.27 R300"; +window.CHGRID_WEB_VERSION = "2026.02.27 R301"; // Optional display timezone for timestamps. Falls back to America/Detroit if unset/invalid. window.CHGRID_TIME_ZONE = "America/Detroit"; diff --git a/client/src/main.ts b/client/src/main.ts index 9661a78..be78d71 100644 --- a/client/src/main.ts +++ b/client/src/main.ts @@ -2825,11 +2825,6 @@ function handleAdminRolePermissionListModeInput(code: string, key: string): void audio.sfxUiBlip(); return; } - if (role.name === 'admin') { - updateStatus('Admin role permissions are locked on.'); - audio.sfxUiCancel(); - return; - } const nextPermissions = new Set(role.permissions); if (nextPermissions.has(value)) { nextPermissions.delete(value);