Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Company - POST/PUT - Admins creating a second company are removed from the first. #122

Open
Anclagen opened this issue Jan 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Anclagen
Copy link
Contributor

When a client that is an admin for an existing company creates a second company they are removed from the initial company without its deletion.

Possible solutions:

  1. A check preventing an admin from creating a new company or being added to another company without first leaving/deleting their current company.
  2. Allow clients to be admins in multiple companies and update the prisma schema to allow this.
@Anclagen Anclagen added the bug Something isn't working label Jan 16, 2024
@Anclagen Anclagen changed the title Company - POST - Admins creating a second company are removed from the first. Company - POST/PUT - Admins creating a second company are removed from the first. Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 📋 To do
Development

No branches or pull requests

1 participant