14 Commits

Author SHA1 Message Date
1e2897d8d4 fix: enable/disable 后自动刷新表格 + 捕获真实错误
1. record_toolbar 添加 name 字段 (enable_user/disable_user)
2. 新增 binds: script bind 用 fetch 调用 dspy,成功后 render() 刷新
3. api/add_user.dspy + api/update_user.dspy 用 try/except 捕获真实异常
2026-06-29 15:50:18 +08:00
ad601403cf feat: users CRUD 定制 api — 新增/编辑客制化逻辑
不修改生成文件,改为 json/users.json 指定 custom URLs:
- new_data_url → /rbac/api/add_user.dspy
- update_data_url → /rbac/api/update_user.dspy

客制化修复:
1. 新增用户: created_at 默认当天日期
2. 新增/编辑: 清除 Tabular 发送的 _text 后缀字段
3. 编辑: 密码为空时不覆盖原密码
2026-06-29 15:12:33 +08:00
52cd71f861 feat: add user_status check on login, enable/disable toolbar, fix editexclouded for add user 2026-06-11 16:57:04 +08:00
587241b6a9 bugfix 2026-06-09 17:01:27 +08:00
62e1985ecb bugfix 2026-06-09 16:58:15 +08:00
df212ea40d bugfix 2026-06-09 16:52:12 +08:00
e453883b61 chore: exclude last_login_fail, last_login, sync_from from users edit form 2026-06-05 11:14:14 +08:00
1315064bd7 bugfix 2026-03-25 14:14:47 +08:00
5e80cc6b84 bugfix 2025-09-01 17:23:58 +08:00
699a47c40d bugfix 2025-09-01 17:19:14 +08:00
ebc972fb80 bugfix 2025-07-31 15:58:13 +08:00
bb87ec994b bugfix 2025-07-31 11:58:54 +08:00
e452bce58f bugfix 2025-07-17 13:52:07 +08:00
b46426abe0 first commit 2025-07-16 14:19:12 +08:00