Skip to content

Drop the Domain Admin requirement from the preferred exporter note - #105296

Merged
MariaHCD merged 3 commits into
mainfrom
francois-preferredExporterNoDomainAdmin
Nov 3, 2026
Merged

MariaHCD merged 3 commits into
mainfrom
francois-preferredExporterNoDomainAdmin

Conversation

@francoisl

@francoisl francoisl commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Explanation of Change

  • Exporters can now read a card's export account through the report being exported, so the preferred exporter no longer needs to be a Domain Admin.
  • Deduplicate the Sage Intacct page's message and reuse the workspace.accounting keys that every other integration uses.

On HOLD until Expensify/Integration-Server#9528 deploys, since the old copy stays accurate until then.

Fixed Issues

https://github.com/Expensify/Web-Expensify/pull/57480#issuecomment-6478886849

Tests

  1. Go to staging.new.expensify.com
  2. Open a workspace connected to any accounting integration
  3. Navigate to Accounting > Export > Preferred exporter
  4. Verify that the Preferred Exporter description no longer mentions the Domain Admin requirement. The text in the first sentence should say "The preferred exporter can be any workspace admin."
  • Verify that no errors appear in the JS console

QA Steps

Same as tests

  • Verify that no errors appear in the JS console

PR Author Checklist

  • I linked the correct issue in the ### Fixed Issues section above
  • I wrote clear testing steps that cover the changes made in this PR
    • I added steps for local testing in the Tests section
    • I added steps for the expected offline behavior in the Offline steps section
    • I added steps for Staging and/or Production testing in the QA steps section
    • I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
    • I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).
  • I included screenshots or videos for tests on all platforms
  • I ran the tests on all platforms & verified they passed on:
    • Android: Native
    • Android: mWeb Chrome
    • iOS: Native
    • iOS: mWeb Safari
    • MacOS: Chrome / Safari
  • I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
  • I verified any copy / text that was added to the app is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
  • If new assets were added or existing ones were modified, I verified that:
    • The assets are optimized and compressed (for SVG files, run npm run compress-svg)
    • The assets load correctly across all supported platforms.
  • If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
  • If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:
    • I verified that all the inputs inside a form are aligned with each other.
    • I added Design label and/or tagged @Expensify/design so the design team can review the changes.
  • If the PR adds or modifies the UI:
    • I asked an AI agent to review the changes for accessibility issues and addressed its findings.
    • I tested with a screen reader (VoiceOver on macOS) and verified all new/changed elements are reachable with a logical focus order.
    • I verified all new/changed elements have meaningful accessible names and roles.
    • I verified state changes are announced (e.g. checked/unchecked, expanded/collapsed, selected).
  • I added unit tests for any new feature or bug fix in this PR to help automatically prevent regressions in this user flow.
  • If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari image

…r note

Exporters can now read a card's export accounts through the report
being exported (Auth#25835, Web-Expensify#57480, Integration-Server#9528),
so the preferred exporter no longer needs to be a Domain Admin.
The Sage Intacct keys duplicated the workspace.accounting ones that
every other integration uses.
@francoisl francoisl changed the title [HOLD IS#9528] [HOLD IS#9528] Drop the Domain Admin requirement from the preferred exporter note Oct 28, 2026
@OSBotify

Copy link
Copy Markdown
Contributor

🦜 Polyglot Parrot! 🦜

Squawk! Looks like you added some shiny new English strings. Allow me to parrot them back to you in other tongues:

View the translation diff
diff --git a/src/languages/de.ts b/src/languages/de.ts
index 13b7dbf0..47a6b474 100644
--- a/src/languages/de.ts
+++ b/src/languages/de.ts
@@ -8067,8 +8067,7 @@ Der Control-Tarif beginnt bei 9 $ pro aktivem Mitglied und Monat.`,
                 },
             },
             preferredExporter: 'Bevorzugte*r Exporteur*in',
-            exportPreferredExporterNote:
-                'Der bevorzugte Exporteur kann jede Workspace-Adminperson sein, muss jedoch auch Domain-Admin sein, wenn du in den Domaineinstellungen unterschiedliche Exportkonten für einzelne Firmenkarten festlegst.',
+            exportPreferredExporterNote: 'Die bevorzugte exportierende Person kann jede beliebige Workspace-Admin sein.',
             exportPreferredExporterSubNote: 'Sobald festgelegt, sieht die bevorzugte exportierende Person die zu exportierenden Berichte in ihrem Konto.',
             exportAs: 'Exportieren als',
             exportOutOfPocket: 'Auslagen exportieren als',
diff --git a/src/languages/el.ts b/src/languages/el.ts
index 4fd7e624..7604b2a8 100644
--- a/src/languages/el.ts
+++ b/src/languages/el.ts
@@ -8195,8 +8195,7 @@ _Για πιο αναλυτικές οδηγίες, [επισκεφθείτε τ
                 },
             },
             preferredExporter: 'Προτιμώμενος εξαγωγέας',
-            exportPreferredExporterNote:
-                'Ο προτιμώμενος εξαγωγέας μπορεί να είναι οποιοσδήποτε διαχειριστής χώρου εργασίας, αλλά πρέπει επίσης να είναι διαχειριστής τομέα αν ορίσετε διαφορετικούς λογαριασμούς εξαγωγής για μεμονωμένες εταιρικές κάρτες στις ρυθμίσεις τομέα.',
+            exportPreferredExporterNote: 'Ο προτιμώμενος εξαγωγέας μπορεί να είναι οποιοσδήποτε διαχειριστής χώρου εργασίας.',
             exportPreferredExporterSubNote: 'Αφού οριστεί, ο προτιμώμενος εξαγωγέας θα βλέπει τις αναφορές προς εξαγωγή στον λογαριασμό του.',
             exportAs: 'Εξαγωγή ως',
             exportOutOfPocket: 'Εξαγωγή προσωπικών δαπανών ως',
diff --git a/src/languages/es.ts b/src/languages/es.ts
index 9a40bc70..1fa8088b 100644
--- a/src/languages/es.ts
+++ b/src/languages/es.ts
@@ -7864,8 +7864,7 @@ El plan Controlar empieza en 9 $ por miembro activo al mes.`,
                 },
             },
             preferredExporter: 'Exportador preferido',
-            exportPreferredExporterNote:
-                'Puede ser cualquier administrador del espacio de trabajo, pero debe ser un administrador de dominio si configura diferentes cuentas de exportación para tarjetas de empresa individuales en la configuración del dominio.',
+            exportPreferredExporterNote: 'El exportador preferido puede ser cualquier administrador del espacio de trabajo.',
             exportPreferredExporterSubNote: 'Una vez configurado, el exportador preferido verá los informes para exportar en tu cuenta.',
             exportAs: 'Exportar cómo',
             exportOutOfPocket: ' Exportar gastos por cuenta propia como',
diff --git a/src/languages/fr.ts b/src/languages/fr.ts
index 4189bc6c..d10cb906 100644
--- a/src/languages/fr.ts
+++ b/src/languages/fr.ts
@@ -8088,8 +8088,7 @@ Le forfait Control commence à 9 $ par Membre actif et par mois.`,
                 },
             },
             preferredExporter: 'Exportateur préféré',
-            exportPreferredExporterNote:
-                'L’exportateur préféré peut être n’importe quel administrateur d’espace de travail, mais doit également être un administrateur de domaine si vous définissez des comptes d’exportation différents pour chaque carte d’entreprise individuelle dans les paramètres de domaine.',
+            exportPreferredExporterNote: 'L’exportateur préféré peut être n’importe quel administrateur de l’espace de travail.',
             exportPreferredExporterSubNote: 'Une fois défini, l’exportateur préféré verra les notes de frais à exporter dans son compte.',
             exportAs: 'Exporter en',
             exportOutOfPocket: 'Exporter les dépenses remboursables sous forme de',
diff --git a/src/languages/it.ts b/src/languages/it.ts
index de5560e4..29de0973 100644
--- a/src/languages/it.ts
+++ b/src/languages/it.ts
@@ -8027,8 +8027,7 @@ Il piano Control parte da 9 $ al mese per ogni membro attivo.`,
                 },
             },
             preferredExporter: 'Esportatore preferito',
-            exportPreferredExporterNote:
-                'L’esportatore preferito può essere qualsiasi amministratore dello spazio di lavoro, ma deve anche essere un Amministratore del dominio se imposti conti di esportazione diversi per le singole carte aziendali nelle Impostazioni del dominio.',
+            exportPreferredExporterNote: 'L’esportatore preferito può essere qualsiasi amministratore dello spazio di lavoro.',
             exportPreferredExporterSubNote: 'Una volta impostato, l’esportatore preferito vedrà nel proprio account i report da esportare.',
             exportAs: 'Esporta come',
             exportOutOfPocket: 'Esporta le spese anticipate come',
diff --git a/src/languages/ja.ts b/src/languages/ja.ts
index 5588e2a7..c8ca8a6a 100644
--- a/src/languages/ja.ts
+++ b/src/languages/ja.ts
@@ -7923,8 +7923,7 @@ Control プランは、アクティブメンバー1人あたり月額 $9 から
                 },
             },
             preferredExporter: '優先エクスポーター',
-            exportPreferredExporterNote:
-                '優先されるエクスポーターは任意のワークスペース管理者にできますが、ドメイン設定で会社カードごとに別々のエクスポート先口座を設定している場合は、ドメイン管理者である必要もあります。',
+            exportPreferredExporterNote: '優先するエクスポーターは、どのワークスペース管理者でも設定できます。',
             exportPreferredExporterSubNote: '一度設定すると、優先エクスポーターは自分のアカウントでエクスポート対象のレポートを確認できるようになります。',
             exportAs: 'エクスポート形式',
             exportOutOfPocket: '立替経費のエクスポート形式',
diff --git a/src/languages/nl.ts b/src/languages/nl.ts
index fe1d2005..7a63b96f 100644
--- a/src/languages/nl.ts
+++ b/src/languages/nl.ts
@@ -8008,8 +8008,7 @@ Het Control-abonnement begint bij $9 per actieve deelnemer per maand.`,
                 },
             },
             preferredExporter: 'Voorkeurs-exporteur',
-            exportPreferredExporterNote:
-                'De voorkeurs-exporteur kan elke werkruimtebeheerder zijn, maar moet ook een domeinbeheerder zijn als je in Domeininstellingen verschillende exportrekeningen instelt voor individuele bedrijfskaarten.',
+            exportPreferredExporterNote: 'De voorkeurs-exporteur kan elke werkruimtebeheerder zijn.',
             exportPreferredExporterSubNote: 'Zodra dit is ingesteld, ziet de voorkeurs‑exporteur de rapporten om te exporteren in hun account.',
             exportAs: 'Exporteren als',
             exportOutOfPocket: 'Uitgaven uit eigen zak exporteren als',
diff --git a/src/languages/pl.ts b/src/languages/pl.ts
index daeaad46..22033bd1 100644
--- a/src/languages/pl.ts
+++ b/src/languages/pl.ts
@@ -8036,8 +8036,7 @@ Plan Control zaczyna się od 9 USD za aktywnego członka miesięcznie.`,
                 },
             },
             preferredExporter: 'Preferowany eksporter',
-            exportPreferredExporterNote:
-                'Preferowanym eksporterem może być dowolny administrator przestrzeni roboczej, ale musi on również być administratorem domeny, jeśli w Ustawieniach domeny ustawisz różne konta eksportu dla poszczególnych kart firmowych.',
+            exportPreferredExporterNote: 'Preferowany eksporter może być dowolnym administratorem przestrzeni roboczej.',
             exportPreferredExporterSubNote: 'Po ustawieniu preferowany eksporter zobaczy w swoim koncie raporty do eksportu.',
             exportAs: 'Eksportuj jako',
             exportOutOfPocket: 'Eksportuj wydatki z własnej kieszeni jako',
diff --git a/src/languages/pt-BR.ts b/src/languages/pt-BR.ts
index 1240cef5..dbe89e6f 100644
--- a/src/languages/pt-BR.ts
+++ b/src/languages/pt-BR.ts
@@ -8017,8 +8017,7 @@ O plano Control começa em US$ 9 por membro ativo por mês.`,
                 },
             },
             preferredExporter: 'Exportador preferido',
-            exportPreferredExporterNote:
-                'O exportador preferencial pode ser qualquer administrador do espaço de trabalho, mas também deve ser um Administrador de Domínio se você definir diferentes contas de exportação para cartões corporativos individuais em Configurações de Domínio.',
+            exportPreferredExporterNote: 'O exportador preferencial pode ser qualquer administrador do workspace.',
             exportPreferredExporterSubNote: 'Depois de definido, o exportador preferido verá os relatórios para exportação na própria conta.',
             exportAs: 'Exportar como',
             exportOutOfPocket: 'Exportar despesas reembolsáveis como',
diff --git a/src/languages/zh-hans.ts b/src/languages/zh-hans.ts
index 9c96369b..feba2665 100644
--- a/src/languages/zh-hans.ts
+++ b/src/languages/zh-hans.ts
@@ -7742,7 +7742,7 @@ _如需更详细的说明,请[访问我们的帮助网站](${CONST.NETSUITE_IM
                 },
             },
             preferredExporter: '首选导出方',
-            exportPreferredExporterNote: '首选导出人可以是任意工作区管理员,但如果你在“域设置”中为各个公司卡设置了不同的导出账户,则该导出人还必须是域管理员。',
+            exportPreferredExporterNote: '首选导出人可以是任意工作区管理员。',
             exportPreferredExporterSubNote: '设置完成后,首选导出人将在其账户中看到可供导出的报表。',
             exportAs: '导出为',
             exportOutOfPocket: '导出报销支出为',

Note

You can apply these changes to your branch by copying the patch to your clipboard, then running pbpaste | git apply 😉

View workflow run

@codecov

codecov Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ Changes either increased or maintained existing code coverage, great job!

Files with missing lines Coverage Δ
...ntacct/export/SageIntacctPreferredExporterPage.tsx 0.00% <0.00%> (ø)
... and 29 files with indirect coverage changes

@francoisl
francoisl marked this pull request as ready for review November 3, 2026 02:45
@francoisl
francoisl requested review from a team as code owners November 3, 2026 02:45
@francoisl francoisl changed the title [HOLD IS#9528] Drop the Domain Admin requirement from the preferred exporter note Drop the Domain Admin requirement from the preferred exporter note Nov 3, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T02:50:22.153329Z e5b550f Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@melvin-bot
melvin-bot Bot requested review from JmillsExpensify and MariaHCD and removed request for a team November 3, 2026 02:45
@melvin-bot

melvin-bot Bot commented Nov 3, 2026

Copy link
Copy Markdown

@MariaHCD Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@francoisl

Copy link
Copy Markdown
Contributor Author

This is a simple copy change, going to skip C+ review and directly look for an internal reviewer here.

@JmillsExpensify JmillsExpensify left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MariaHCD
MariaHCD merged commit 3587ad2 into main Nov 3, 2026
54 of 56 checks passed
@MariaHCD
MariaHCD deleted the francois-preferredExporterNoDomainAdmin branch November 3, 2026 08:33
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

🚧 MariaHCD has triggered a test Expensify/App build. You can view the workflow run here.

@OSBotify

OSBotify commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

@OSBotify OSBotify mentioned this pull request Nov 3, 2026
99 tasks done
@OSBotify

OSBotify commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

🚀 Deployed to staging by https://github.com/MariaHCD in version: 9.5.31-0 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 failure ❌
🍎 iOS 🍎 success ✅

@MelvinBot

Copy link
Copy Markdown
Contributor

Help site update needed: four existing articles incorrectly require the preferred exporter to be a domain admin. Created Remove obsolete preferred exporter domain admin requirements as a draft, labeled HelpDot and assigned to you.

@francoisl, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR Ready for review


view run

@OSBotify

OSBotify commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

🚀 Deployed to staging by https://github.com/MariaHCD in version: 9.5.31-0 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 success ✅

@OSBotify

OSBotify commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

🚀 Deployed to production by https://github.com/blimpich in version: 9.5.31-4 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 success ✅

Bundle Size Analysis (Sentry):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants