优化客服云权限安全与访客IP解析

This commit is contained in:
yml2213
2026-08-31 13:43:45 +08:00
parent 523a306d5e
commit bdf67395ab
24 changed files with 365 additions and 48 deletions
+2 -2
View File
@@ -197,7 +197,7 @@ func legacyRolePermissions(role string) map[string]bool {
"session.view": true, "session.reply": true, "session.transfer": true,
"session.end": true, "session.note": true, "session.priority": true,
"customer.view": true, "customer.create": true, "customer.edit": true,
"customer.export": true, "customer.tag": true,
"customer.export": true, "customer.tag": true, "customer.delete": true,
"chat_history.view": true, "chat_history.detail": true,
"chat_history.export": true, "chat_history.batch_archive": true,
"knowledge.view": true, "knowledge.create": true, "knowledge.edit": true,
@@ -216,7 +216,7 @@ func legacyRolePermissions(role string) map[string]bool {
"session.view": true, "session.reply": true, "session.transfer": true,
"session.end": true, "session.note": true, "session.priority": true,
"customer.view": true, "customer.create": true, "customer.edit": true,
"customer.export": true, "customer.tag": true,
"customer.export": true, "customer.tag": true, "customer.delete": true,
"chat_history.view": true, "chat_history.detail": true,
"chat_history.export": true, "chat_history.batch_archive": true,
"knowledge.view": true, "knowledge.create": true, "knowledge.edit": true,