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

accounts: Normalize roll number to ensure uniformity #6

Open
shiveshcodes opened this issue Oct 15, 2023 · 0 comments · May be fixed by #10 or #12
Open

accounts: Normalize roll number to ensure uniformity #6

shiveshcodes opened this issue Oct 15, 2023 · 0 comments · May be fixed by #10 or #12
Labels
backend Related to the backend enhancement New feature or request

Comments

@shiveshcodes
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Roll numbers for students in batches since '22 now include a single letter (<B or M or N or ...><Dept + Student>).
Since these can be written as both lowercase and uppercase characters, this causes a possible duplication in user fields

Describe the solution you'd like
Implement a normalization method on the roll number field on the backend, that ensures that the roll number is always *UPPERCASE. This is not by requirement, but a convention that is suggested.

Describe alternatives you've considered
While this could also be implemented on the frontend, it would have to be implemented over multiple pages and components, while doing so on the back-end would only require adding at most two functions to the User model.

Additional context
N.A

@shiveshcodes shiveshcodes added enhancement New feature or request backend Related to the backend labels Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to the backend enhancement New feature or request
Projects
None yet
1 participant