Skip to content

[Due for payment 2025-06-02] [$250] Members are able to edit the title of approved reports. #57416

Description

@vincdargento

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.1.5-2
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5650477
Email or phone of affected tester (no customers): agexptest+cw.employee@gmail.com
Issue reported by: Applause Internal Team
Device used: Windows 10/ Chrome, Samsung S23FE/ Android 14
App Component: Money Requests

Action Performed:

Preconditions:
Use a Control workspace with an admin and an employee.
In Workflows, the Delay submissions option is set to manually. The Add approvals toggle is enabled and the default workflow is set.
Rules feature enabled in the workspace.
Custom report names option is enabled and Custom name has any text.
Auto-approve compliant reports option is enabled and Auto-approve reports under option is set to any value.

Steps:

  1. Navigate to https://staging.new.expensify.com/
  2. Login as an employee of the workspace
  3. In the workspace chat, create a manual expense with the amount under the value set in the "Auto-approve reports under" option (The goal is to have an expense that is auto-approved by workspace rules and stay in Waiting for pay status)
  4. Go to the expense details
  5. Submit the expense
  6. Edit the Title field

Expected Result:

Only workspace admins should be able to update the report titles of approved reports (like OldDot).

Actual Result:

The report title field is editable by the member in the approved state.

Note: apparently there was an error message shown in the original bug report, but I can't repro that, though I can still edit the report title of the approved report as the member - but I shouldn't be allowed to.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

bug.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021896634803332390366
  • Upwork Job ID: 1896634803332390366
  • Last Price Increase: 2025-05-05
  • Automatic offers:
    • Tony-MK | Contributor | 107225030
Issue OwnerCurrent Issue Owner: @trjExpensify

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

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