cms-dev / cms-dev/cms

Auto registration is not working anymore

Open
#1,687 1 comment 0 reactions 0 assignees View on GitHub

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:

  1. Enable auto registration in the active contest
  2. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.