Skip to content

[HOLD ON #72715] IOU - Create report button appears for admin when admin cannot create report on behalf of member #72798

Description

@lanitochka17

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.2.32-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://test-management.browserstack.com/projects/2219752/test-runs/TR-1307/folder/13176730/41237113/955760198
Email or phone of affected tester (no customers): jsdoijsdnoidnsjodj@gmail.com
Issue reported by: Applause - Internal Team

Action Performed:

Precondition:

  • Admin invites member to workspace.
  1. Go to staging.new.expensify.com
  2. [Member] Go to workspace chat
  3. [Member] Create an expense in the workspace chat
  4. [Member] Create an empty report via + > Create report
  5. [Admin] Open the report that has expense (from Step 3)
  6. [Admin] Click Report field
  7. [Admin] Click Create report

Expected Result:

Create report button should not appear for admin because admin cannot create report on behalf of the member

Actual Result:

Create report button appears for admin when admin cannot create report on behalf of the member
This causes the expense to disappear and reappear when admin clicks Create report button

Workaround:

Unknown

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence
Bug6976575_1760618828684.Screen_Recording_2025-10-16_at_20.42.37.mp4

View all open jobs on GitHub

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.WeeklyKSv2

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions