kang
395e1c7400
feat: refactor super admin to use is_super_admin flag and enhance site deletion logic
...
- Changed super admin detection from role-based to `is_super_admin` flag in AdminUser model
- Added `requireDefaultAdminSiteId()` method to throw validation error when no integration site exists
- Enhanced site deletion to migrate platform role bindings to fallback site and auto-delete site-specific admin accounts
- Made agent line code optional with auto-generation fallback using `{site_code}-agent-{counter}` format
2026-06-12 20:47:40 +08:00
..
2026-06-11 18:01:58 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-12 20:47:40 +08:00
2026-06-04 10:15:10 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-11 18:01:58 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-11 18:01:58 +08:00
2026-06-03 10:56:36 +08:00
2026-06-11 18:01:58 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-09 13:44:08 +08:00
2026-06-03 10:56:36 +08:00
2026-06-09 13:44:08 +08:00
2026-06-04 18:00:50 +08:00
2026-06-04 18:00:50 +08:00
2026-06-04 18:00:50 +08:00
2026-06-04 09:17:47 +08:00
2026-06-03 10:56:36 +08:00
2026-06-04 18:00:50 +08:00
2026-06-04 18:00:50 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-04 10:15:10 +08:00
2026-06-04 09:17:47 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00
2026-06-03 10:56:36 +08:00