rdmorganiser / rdmorganiser/rdmo
Allow for special characters in the username
Nobody has claimed this yet.
- 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
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
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