mirror of
https://gitcode.com/JianFeeeee/webui4frpc.git
synced 2026-09-20 00:47:57 +00:00
docs: 更新 README 与 cluster-api — per-forward 模型/网络负载/审计CSV/三级角色/session登录
README: - 特性: per-forward 独立进程、NIC 负载采样、冲突检查、Del 键删除 - 认证: session-cookie 登录 + 三级角色 (superadmin/admin/viewer) - 审计: 4 个 CSV 导出端点说明 - 构建: dist 不再进 git (编译前需 cp -r) - 数据目录: 配置/日志路径改为 per-forward 键式 - 架构: 更新模块说明 (worker_key/session/audit) - API 表: 新增 login/logout + 审计导出 4 端点 - gofmt: store.go 注释对齐 docs/cluster-api.md: - §9 审计 CSV 导出: 四个端点用法、示例行、公式注入防御说明
This commit is contained in:
@ -149,7 +149,7 @@ type Forward struct {
|
||||
type User struct {
|
||||
ID int64 `json:"id"`
|
||||
Username string `json:"username"`
|
||||
PasswordHash string `json:"-"` // never serialized to clients
|
||||
PasswordHash string `json:"-"` // never serialized to clients
|
||||
Role string `json:"role"` // "admin" | "viewer" | "superadmin"
|
||||
Enabled bool `json:"enabled"`
|
||||
System bool `json:"system"` // true = flag-synced, UI read-only
|
||||
|
||||
Reference in New Issue
Block a user