Skip to content

[CFI] Approved! - Add the ability to create a workspace for a client. #80057

@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!


Issue reported by: @trjExpensify
Slack conversation: #migrate

Action Performed:

  1. Set an account as an Approved! Accountant, such that isApprovedAccountant: true
  2. Go to Workspaces > Click "New workspace"

Expected Result:

This is a Classic feature we're bringing over to NewDot, that's available only for accounts that are marked as Approved! Accountants.

In the "Confirm workspace" modal:

  1. Show the Plan type row to access the plan type selector.
    • Default the value to Control if the user is a member of any Control workspaces. Else, default to Collect.
  2. Show the Owner row to access the standard participant selector (Recents, Contacts etc)
    • Default to the account taking the action to create a new workspace
    • Whichever account gets selected here should be made the owner of the workspace upon creation.
  3. Show the "Keep me as an admin" toggle when they select an owner other than themself.
    • The toggle should be enabled by default when shown.
    • This controls setting makeMeAdmin: true || false to keep the creator on the workspace as an admin, or not.
Image

Actual Result:

A! accountants can't currently create workspace for their clients.

Workaround:

Switch back to Classic or create the workspace and ask the client to take over billing.

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

Screenshots/Videos

In-line above.

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @allgandalf

Metadata

Metadata

Labels

ExternalAdded to denote the issue can be worked on by a contributorMonthlyKSv2NewFeatureSomething to build that is a new item.ReviewingHas a PR in review

Type

No type
No fields configured for issues without a type.

Projects

Status

HIGH

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions