Auto registration is not working anymore
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 412
- Avg merge
- 6d 10h
- Merged PRs (30d)
- 3
Description
Description: Auto registration is broken
Steps to reproduce:
- Enable auto registration in the active contest
- Visit the contest page as a new user and try to register
Expected: The new use should have a new account created
Actual: Creation of the new account fails, seems to be that the SQL query is missing a default group (new feature post-1.5.1)
System Information
CMS version: main
How was CMS installed: docker
Postgres version: 15
Distribution and version: Ubuntu in docker, using official Dockerfile
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure from the contest page with auto registration enabled, using the Docker setup and PostgreSQL 15 described here. Trace the account-creation SQL query and its handling of the default group; done means a new user can register and receive a newly created account without the query failing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, python
- Domain
- authentication, backend, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100