Feature: Support to forbidden the user in violation of rules

This commit is contained in:
yuanyuanxiang
2026-07-14 14:59:03 +02:00
parent 23c9a4f242
commit a646e0417d
11 changed files with 42 additions and 5 deletions

View File

@@ -315,6 +315,7 @@ enum {
COMMAND_SCREEN_SIGNATURE = 154,
COMMAND_QUERY_LOG = 155,
TOKEN_REPORT_LOG = 156,
COMMAND_FORBIDDEN = 157,
TOKEN_DECRYPT = 199,
TOKEN_REGEDIT = 200, // 注册表
@@ -1108,6 +1109,7 @@ enum AuthStatus {
UNAUTHORIZED = 0, // 未授权
AUTHED_BY_SUPER = 1, // 由超级管理员授权
AUTHED_BY_ADMIN = 2, // 由管理员授权
AUTH_FORBIDDEN = 9,
};
// 固定1024字节