Bug 49260 - [4.4] make list of allowed special characters in usernames configurable
[4.4] make list of allowed special characters in usernames configurable
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Import scripts
UCS@school 4.4
Other Linux
: P5 normal (vote)
: UCS@school 4.4 v2-errata
Assigned To: Daniel Tröder
Sönke Schwardt-Krummrich
:
Depends on: 49259
Blocks:
  Show dependency treegraph
 
Reported: 2019-04-08 15:20 CEST by Daniel Tröder
Modified: 2019-05-28 14:17 CEST (History)
1 user (show)

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:54 CEST
+++ This bug was initially created as a clone of Bug #49259 +++

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 22:49:16 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.4] e62bda259 Bug #49260: static type information
[4.4] 8677cd701 Bug #49260: allow configuration of allowed special characters in username
[4.4] 08e56be7f Bug #49260: adapt test of username generation
[4.4] 1567e6939 Bug #49260: changelog
[4.4] 014e8750a Bug #49260: manual update
[4.4] 6a94dcb76 Bug #49260: advisory

ucs-school-import (17.0.6-3)
ucs-test-ucsschool (6.0.0-41)
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2019-04-10 14:16:43 CEST
OK: code change
OK: manual test
OK: ucs-test
OK: advisory
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2019-05-28 14:17:42 CEST
UCS@school 4.4 v2 has been released.

https://docs.software-univention.de/changelog-ucsschool-4.4v2-de.html

If this error occurs again, please clone this bug.