[User management] Signup
Created by: Tirokk
Authored by Gerald1614 Closed
Is your feature request related to a problem? Please describe. Building capabilities to signup an new user.
Describe the solution you'd like A visitor should have the possibility to signup to Human Connection in order to get access to capabilities to create post. They should get access to a registration page which would ask them to provide a name, email and password. The application would created the user with a profile of 'user' and a status as 'unverified'. The application will then send an email to the user with a link that (when clicked) will switch the user status from unverified to verified .(this verification process could be a separate feature) from there, the user could log into the application and start working as any user with same profile
Describe alternatives you've considered I consider logging in the user right after the process but if the email needs to be verified to prevent robots to create users, it is better not to log users before the verification process is finalized
Additional context
-
add 'verified' property to the graphql schema of user (there is a 'disabled' prop in the schema is this property in fact planned to be used as a verified unverified status ? -
build the resolver for the creation of the user (name, email, password coming from the front end and 'user' role added by the application. 'verified' status flagged to false. -
build tests to cover those new features -
need to asses the impact of the 'verified' status on the rest of the app. As we will have to add this a criteria to log in users for exemples. -
initiate verification process -
Build the front end (creation of an issue on Nitro-web that we will link here)