Skip to content

Copilot is able to upgrade / downgrade workspace plan from collect to control and vice versa of another user #64536

@izarutskaya

Description

@izarutskaya

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.69-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @allgandalf
Slack conversation (hyperlinked to channel name): #expensify_bugs

Action Performed:

Prerequisites: User A should have a workspace

  1. Go to https://staging.expensify.com/
  2. Log in with User A > Settings > Account > Add a copilot User B
  3. Go to https://staging.new.expensify.com/
  4. Log with User B
  5. Click account > Switch accounts > Subscription > scroll down to reach Your Plans > Explore All plans
  6. Click on Upgrade to Control / Downgrade to collect

Expected Result:

We shown a blocking modal if a co-pilot tries to add payment card / switch between pay-per-use and annual subscription, so blocking modal should be seen while upgrading / downgrading a subscription plan of another user

Actual Result:

The copilot is able to downgrade / upgrade subscription plan of another user

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

Recording.3224.mp4
Screen.Recording.2025-06-19.at.10.13.16.AM.mov

View all open jobs on GitHub

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringImprovementItem broken or needs improvement.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions