Skip to content

[Due for payment 2025-11-07] [CMB] [$250] Don't show New workspace button when the restrict policy creation security group is enabled #72272

@trjExpensify

Description

@trjExpensify

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: v9.2.22-6
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: None
Issue reported by: @JmillsExpensify

Action Performed:

  1. Be a member on a private domain with the enableRestrictedPolicyCreation securityGroup setting enabled (Ref)
  2. Go to Workspaces tab
  3. Observe the New workspace button
  4. Click the New workspace button
  5. Observe it error out.

Expected Result:

This domain securityGroup setting prevents users from creating workspace, so let's hide the button like we do on Classic.

Note: Please make sure to also hide the "New workspace" button in the global create FAB as well.

Actual Result:

The button shows and creating a workspace errors out

Workaround:

Yes, disable the domain security group setting.

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

Image Image Image

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021976385824389659939
  • Upwork Job ID: 1976385824389659939
  • Last Price Increase: 2025-10-09
Issue OwnerCurrent Issue Owner: @
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
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