Load WhatsApp accessGrant into bot settings (4.9.1-ops.7).

Settings button only forwarded accessPolicy, so the graded ACL page always opened empty; also refresh grant from connection.status on mount.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-05 17:12:24 +08:00
parent 93672dfd91
commit a4508a7caa
7 changed files with 110 additions and 8 deletions

View file

@ -220,6 +220,8 @@ export function WhatsappAccountCard({
botName: account.bot.name,
connected: account.connected,
accessPolicy: account.accessPolicy,
accessGrant: account.accessGrant,
groupSessionScope: account.groupSessionScope,
}))),
h(WorkspaceEditor, {
workspace: account.workspace,