Skip to content

[Remove Free Workspace Creation] Keep old NewDot clients from Creating Free Workspaces #37154

@tgolen

Description

@tgolen

Coming from the design doc section here

It could be that old NewDot clients would still have old code allowing them to create free workspaces. To prevent that, there will be some logic added to the CreateWorkspace API command.

  • Update api.php so that if the client passes a policy type of "free", then set the type to "team" here
  • Add a Log::info() when that happens so we can detect when old clients are making bad requests
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01dfd3c0fbfc17add5
  • Upwork Job ID: 1761071438657032192
  • Last Price Increase: 2024-02-27

Metadata

Metadata

Labels

DailyKSv2InternalRequires API changes or must be handled by Expensify staff

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions