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

User doesn't signs up with a type from the /auth/register page #87

Open
RogerOrRobert opened this issue Mar 14, 2024 · 2 comments
Open
Labels
bug Something isn't working

Comments

@RogerOrRobert
Copy link
Contributor

RogerOrRobert commented Mar 14, 2024

Expected Behavior

When a new user decides to join the platform, they can easily do so by selecting the sign-up option available on the login page. When you create the user it has to appear on the /workspace/users the user created and with the type user.

Current Behavior

When the user signs up, this user has no type.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to home page
  2. Click on login
  3. Click on sign up
  4. Fill the data and click sign up
  5. Log out
  6. Login with an admin type user
  7. Acceed to the users in the workspace
  8. See error (doesn't appear the type on the users created)

Context (Environment)

  • Default setup
  • OS: Windows 11
  • Browser: Chrome
  • Environment: dev

Issue demo

bug-sign-up.mp4
@RogerOrRobert RogerOrRobert changed the title Can't acceede to the workspace with a new signed up user User doesn't signs up with a type from the /auth/register page Mar 14, 2024
@RogerOrRobert RogerOrRobert added the bug Something isn't working label Mar 14, 2024
@gdomenech98
Copy link
Contributor

Users created using by accessing /auth/register have no type. To create a user with desired type, in your case "admin" use yarn add-user [userEmail] [password] [type], where type sets the desired type of user (in your case "admin")

@gdomenech98
Copy link
Contributor

@RogerOrRobert please rewrite this issue addressing to real problem

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
None yet
Development

No branches or pull requests

2 participants