Skip to content

Level assigned at registration needs to be aware of new MappingLevel API #6840

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

Open
categulario opened this issue May 7, 2025 · 0 comments
Assignees

Comments

@categulario
Copy link
Collaborator

categulario commented May 7, 2025

When a new user is registered it is assigned a level based solely on her contributions. This needs to be modified considering that MappingLevel is now a table instead of an enumeration.

Considerations

  • Some levels will require approval.
  • Badges can be assigned without approval.

Locations

  • backend/services/users/user_service.py (register_user_with_email())
    • /actions/register/
  • backend/services/users/user_service.py (register_user()) assigns level
    • backend/services/users/authentication_service.py (AuthenticationService.login_user())
      • backend/api/system/authentication.py (/authentication/callback/)

Discussion

Applies the same as for issue #6878

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant