feat: ship loose-offline dbsync (validate, agent push, LWW audit)

Add UUID/FK channel checks, agent whitelist/push APIs, bindings, super-admin LWW audit with rollback, reconcile rate limits, and sync docs. Default customers stay opt-in; company conflict UI is removed.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
whm
2026-07-31 17:54:14 +08:00
parent 632057c857
commit 76cdcd760e
39 changed files with 3302 additions and 199 deletions

View File

@@ -39,6 +39,7 @@ var permAlias = map[string]string{
"tenant.invite": Perm邀请成员,
"org.admin": Perm管理组织,
"sync.admin": Perm数据同步,
"sync.push": Perm数据同步,
"tenant.admin": Perm管理租户,
Perm读取模块: Perm读取模块,
Perm写入模块: Perm写入模块,