-
Notifications
You must be signed in to change notification settings - Fork 1
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
Research users should have a code #185
Comments
It might actually be cleaner to have a separate ResearchCode object, one of which is created whenever needed. Then both researchers and users can link to it - this would also allow multiple researchers to have access to the same data. |
It would also be nice to have a sign-up url with the code pre-filled, e.g. |
- backend - add ResearchGroup model with 6-digit code for users to use when signing up - add checkdigit dependency to add checksum to code - TODO: maybe make the code the id? otherwise have to modify user sign up logic - TODO: exclude leading 0s to ensure it remains 6 digits even if converted to an int? - admin frontend - TODO add research groups tab (or maybe add the table to the users tab?) - TODO users tab: add button on user to create research group, allow to filter users by research group - frontend - add ResearchCodeInput input which checks the entered code checksum is valid - WIP add optional code input to user signup, remove role selection - WIP can add code in url to send sign up links to users with code pre-filled (make route /signup?) - add cdigit dependency to validate codes - resolves #185
- backend - add ResearchGroup model with 6-digit id code for users to use when signing up - add checkdigit dependency to add checksum to code - admin frontend - WIP users tab: add reseach group code, add button on user to create research group, allow to filter users by research group - frontend - add ResearchCodeInput input which checks the entered code checksum is valid - WIP add optional code input to user signup, remove role selection - WIP can add code in url to send sign up links to users with code pre-filled (make route /signup?) - add cdigit dependency to validate codes - resolves #185
- backend - add ResearchGroup model with 6-digit id code for users to use when signing up - add checkdigit dependency to add checksum to code - admin frontend - WIP users tab: add reseach group code, add button on user to create research group, allow to filter users by research group - frontend - add ResearchCodeInput input which checks the entered code checksum is valid - WIP add optional code input to user signup, remove role selection - WIP can add code in url to send sign up links to users with code pre-filled (make route /signup?) - add cdigit dependency to validate codes - resolves #185
This can be added to the
User
object, or stored elsewhere.This code is then entered by users when they sign up, which provides their data to that researcher
The text was updated successfully, but these errors were encountered: