fix: allow duplicate route IDs across groups and add group_id to send_logs

- Change validateRoutes to per-group ID uniqueness instead of global
- Remove post-merge cross-group route ID uniqueness checks
- Include groupId in msg:* KV key to prevent collision
- Add group_id column to send_logs table (migration 0004)
- Record groupId in send_logs for accurate permission filtering
- Use groupId from log entries for admin log access checks
This commit is contained in:
RhenCloud 2026-08-08 23:00:15 +08:00
parent ab98c84896
commit 03eef7ae89
5 changed files with 26 additions and 29 deletions

View file

@ -0,0 +1 @@
ALTER TABLE send_logs ADD COLUMN group_id TEXT;