feat(shipping-notice): 落地 XFA 拆分、版面签名、统一进度与处理域履约

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
hugoandCursor committed 2026-08-06 10:18:37 +08:00
1 parent 3a9fbac2fc
commit d2b3d74def
571 files changed
+78064 -24681

No files matched your search

+4
View File
@@ -93,6 +93,10 @@ class User(Base):
'shipping_notice_force_create': self.role == 'admin',
# 货代审计敏感快照/前后 Diff 读取:admin 默认开;不新建角色,可显式关闭或授予
'shipping_notice.audit_sensitive_read': self.role == 'admin',
# XFA 字段拆分:编辑 / 预览 / 发布审核;admin 默认开,可显式收紧
'shipping_notice.xfa_split_rule_edit': self.role == 'admin',
'shipping_notice.xfa_split_rule_preview': self.role == 'admin',
'shipping_notice.xfa_split_rule_publish': self.role == 'admin',
}
def get_feature_permissions(self) -> dict[str, bool]: