fix: prevent super admin demotion

This commit is contained in:
lezi-fun committed 2026-08-12 20:12:22 +08:00
1 parent 3840bb3c54
commit 96e0e6f08e
8 files changed
+47 -18

No files matched your search

+1
View File
@@ -208,6 +208,7 @@
"registeredAt": "Registered",
"you": "You",
"cannotSelf": "You cannot edit yourself",
"cannotSuper": "Super admin cannot be changed",
"makeUser": "Make user",
"makeAdmin": "Make admin",
"roleSuper": "Super admin"
+1
View File
@@ -208,6 +208,7 @@
"registeredAt": "注册时间",
"you": "你",
"cannotSelf": "不可操作自己",
"cannotSuper": "不可修改超级管理员",
"makeUser": "设为普通用户",
"makeAdmin": "设为管理员",
"roleSuper": "超级管理员"