From b1f6758f98bb457ea7e7c1af7c8f593f6482c319 Mon Sep 17 00:00:00 2001 From: Paulhenry Saux Date: Mon, 13 Jul 2026 19:31:52 +0200 Subject: [PATCH] fix: add ui:download-file permission to consent screen. --- lib/plugin-sandbox/consent.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/plugin-sandbox/consent.ts b/lib/plugin-sandbox/consent.ts index 2a1f9871..d8941732 100644 --- a/lib/plugin-sandbox/consent.ts +++ b/lib/plugin-sandbox/consent.ts @@ -86,6 +86,7 @@ const PERMISSION_LABELS: Record = { 'http:post': { title: 'Call same-origin APIs', body: 'Make authenticated requests to the webmail backend on your behalf.' }, 'http:fetch': { title: 'Talk to external services', body: 'Make uncredentialled requests to the third-party origins listed in the manifest.' }, 'admin:config': { title: 'Read/write admin config', body: 'Access this plugin\'s admin-supplied configuration values.' }, + 'ui:download-file': { title: 'Download files', body: 'Download custom files generated by the plugin.' }, }; export function describePermission(perm: string): { title: string; body: string } {