keyshade icon indicating copy to clipboard operation
keyshade copied to clipboard

API: Skip workspace creation if the user is an admin user

Open rajdip-b opened this issue 10 months ago • 0 comments

Description

Any user that gets created, gets a default workspace associated with them. We don't want admin accounts to get a default workspace.

Solution

  • Add a if check in the create-user.ts file to skip creation of a workspace if the user is an admin user.
  • Add relevant tests to user.e2e.spec.ts to check this case.

rajdip-b avatar Apr 23 '24 15:04 rajdip-b