Fix - BA - Share button is visible for business bank account without workspace members#93337
Conversation
|
@bernhardoj 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] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppiOS: HybridAppMacOS: Chrome / Safariweb.mp4 |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 @mjasikowski has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/mjasikowski in version: 9.4.7-0 🚀
Bundle Size Analysis (Sentry): |
|
🤖 Help site review: no changes required. This PR is a bug fix to the eligible-share-recipient logic in The relevant help article, Share Verified Business Bank Account, already documents the intended behavior:
This fix makes the product match what the docs already say — Expensify guides are internal staff, not customer Workspace Admins, and were never meant to appear in the share list. No documented customer-facing feature, label, or flow was added or changed, so no @FitseTLT, please confirm you agree no help site changes are required here. If you think a doc update is warranted, let me know what behavior to capture and I'll create the draft PR. |
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.4.7-4 🚀
|


Explanation of Change
Fixed Issues
$ #91834
PROPOSAL: #91834 (comment)
Tests
Precondition: A private domain account with workspace and an existing verified business bank account
Offline tests
same as tests
QA Steps
same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari