Bug 49259 - [4.3] make list of allowed special characters in usernames configurable
[4.3] make list of allowed special characters in usernames configurable
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Import scripts
UCS@school 4.3
Other Linux
: P5 normal (vote)
: UCS@school 4.3 v8-errata
Assigned To: Daniel Tröder
Sönke Schwardt-Krummrich
:
Depends on:
Blocks: 49260
  Show dependency treegraph
 
Reported: 2019-04-08 15:20 CEST by Daniel Tröder
Modified: 2023-03-25 06:52 CET (History)
0 users

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2019-04-08 15:20:26 CEST
The list of allowed special characters in usernames should be configurable.
Currently it is hard coded to the dot.
The default characters are string.ascii_letters + string.digits (a-z a-Z 0-9).
Comment 1 Daniel Tröder univentionstaff 2019-04-08 23:03:56 CEST
Additional special characters in usernames can now be configured through the configuration key username:allowed_special_chars.
The default is backwards compatible and contains only the dot.
Only dash and underscore can also be used (resulting in the configuration value ".-_"). This is a limitation set by UDM.
None of the special characters is allowed as first or last character of a username.

[4.3] 39897b460 Bug #49259: static type information
[4.3] 3c9bfda4e Bug #49259: allow configuration of allowed special characters in username
[4.3] a4adcf1ba Bug #49259: adapt test of username generation
[4.3] 98c14166b Bug #49259: manual update
[4.3] b2b4c5bf0 Bug #49259: changelog
[4.3] e89dab7e6 Bug #49259: advisory

ucs-school-import (16.0.3-7)
ucs-test-ucsschool (5.0.4-9)
Comment 3 Daniel Tröder univentionstaff 2019-04-10 11:39:28 CEST
Sorry - backporting error.

[4.3 d25b52356] Bug #49259: fix error from backporting test

ucs-test-ucsschool (5.0.4-12)
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2019-04-10 13:41:07 CEST
OK: code change
OK: manual tests
OK: ucs-test
OK: advisory