You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Expense - Change workspace option is shown for sender in IOU report #71740
Version Number: 9.2.22-1 Reproducible in staging?: Yes Reproducible in production?: No If this was caught during regression testing, add the test name, ID and link from TestRail:#66933 Email or phone of affected tester (no customers):jnodijsdonijsojsd@gmail.com Issue reported by: Applause Internal Team Device used: Mac 15.5 / Chrome App Component: Money Requests
Action Performed:
Precondition:
User has a workspace.
Go to staging.new.expensify.com
Open FAB > Create expense > Manual.
Submit a manual expense to any user who is not a member of the workspace.
Open the expense report.
Click More > Change workspace.
Select the workspace.
Expected Result:
Change workspace option should not be shown for the sender in IOU report (production behavior).
Actual Result:
Change workspace option is shown for sender in IOU report.
After moving the IOU to workspace, the recipient is not a member of the workspace. The IOU is moved to admin's workspace chat. So the recipient cannot do anything about the expense.
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
This blocker is caused by this PR: #66933
Should we revert this PR @Beamanator@flaviadefaria
I am quite new here and i don't know exactly if we need to fix this or revert this?
@Beamanator@heyjennahay@Burhan-Rashid@ishpaul777@jponikarchuk this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
I'm looking at the OP again, and this is expected:
Change workspace option is shown for sender in IOU report.
After moving the IOU to workspace, the recipient is not a member of the workspace. The IOU is moved to admin's workspace chat. So the recipient cannot do anything about the expense.
We changed the permissions to allow users to change the workspace of an IOU. Right now, the submitter can always change reports to any workspace they are a member of. In that case, a few things happen:
The report is converted from IOU to Expense
The report is put back in OPEN state
The report is unshared with the previous approver/payer
The report is shared with the new approver on the workspace
Activity
melvin-bot commentedon Oct 2, 2025
Triggered auto assignment to @flaviadefaria (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.melvin-bot commentedon Oct 2, 2025
Triggered auto assignment to @Beamanator (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Oct 2, 2025
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Oct 2, 2025
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
samranahm commentedon Oct 2, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Expense - Change workspace option is shown for sender in IOU report
What is the root cause of that problem?
App/src/libs/ReportSecondaryActionUtils.ts
Lines 436 to 444 in fa5e06d
There is currently no logic to check the report sender here
What changes do you think we should make in order to solve the problem?
App/src/libs/ReportSecondaryActionUtils.ts
Lines 436 to 444 in fa5e06d
We should explicitly check the report sender and return false here
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
Burhan-Rashid commentedon Oct 2, 2025
This blocker is caused by this PR: #66933
Should we revert this PR @Beamanator @flaviadefaria
I am quite new here and i don't know exactly if we need to fix this or revert this?
29 remaining items
jponikarchuk commentedon Oct 16, 2025
@heyjennahay The issue is still reproducible. The initial recipient can see the expense but cannot do anything about it after moving to the workspace
screen_recording_2025-10-16_at_12.39.23.mp4
melvin-bot commentedon Oct 16, 2025
@Beamanator @heyjennahay @Burhan-Rashid @ishpaul777 @jponikarchuk this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
Burhan-Rashid commentedon Oct 16, 2025
@luacmartins Any suggestion here. Is this the expected behaviour?
luacmartins commentedon Oct 16, 2025
Hmm the old recipient shouldn't see the expense anymore. It might be a BE bug. I can take a look at it.
melvin-bot commentedon Oct 20, 2025
@jponikarchuk Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
luacmartins commentedon Oct 20, 2025
I'll look into it this week
luacmartins commentedon Oct 27, 2025
I'm looking at the OP again, and this is expected:
We changed the permissions to allow users to change the workspace of an IOU. Right now, the submitter can always change reports to any workspace they are a member of. In that case, a few things happen:
OPENstateSo this is not an issue. We can close this.