rdmorganiser / rdmorganiser/rdmo

Allow for special characters in the username

Open
#513 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

effort:minor type:feature-request
Dominant language
Python
Stars
133
Forks
60
Avg merge
3d 14h
Merged PRs (30d)
21

Description

Rationale / Begründung

Sometimes, weird strings with special characters are used as username (e.g. in a Shibbolth setup). A custom validator, which can be specified in the settings via ACCOUNT_USERNAME_VALIDATORS can be used to allow those for an instance.

Affected

Admins

Minimal functionality

A more liberal validator in RDMO, a bit like here: https://github.com/django-daiquiri/daiquiri/blob/master/daiquiri/auth/validators.py

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

Locate the existing username validation and the ACCOUNT_USERNAME_VALIDATORS setting, then compare the desired behavior with the Daiquiri validator linked in the issue. Done means admins can configure a more liberal validator and usernames containing the relevant special characters are accepted.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
authentication
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.