From 48e999149c21ce4ccac266d187b944dbc87c8053 Mon Sep 17 00:00:00 2001 From: hjjjj <1311711287@qq.com> Date: Wed, 1 Apr 2026 12:01:56 +0800 Subject: [PATCH] feat(server): enhance user permissions and access control - Introduced root admin checks in various functions to streamline permission handling for users. - Updated skill and agent management routes to simplify access control by removing redundant role checks. - Added favicon links to HTML files for improved branding in the admin and updates sections. --- admin-web/index.html | 3 +++ routes/auth.js | 1 + server.js | 39 ++++++++++++++++----------------------- updates/index.html | 3 +++ updates/latest-mac.yml | 11 ----------- updates/latest.yml | 8 -------- 6 files changed, 23 insertions(+), 42 deletions(-) delete mode 100644 updates/latest-mac.yml delete mode 100644 updates/latest.yml diff --git a/admin-web/index.html b/admin-web/index.html index 5b4ef34..3168d2c 100644 --- a/admin-web/index.html +++ b/admin-web/index.html @@ -4,6 +4,9 @@ 权限管理平台 + + +