Bug 47830 - Add parameters to user template options
Summary: Add parameters to user template options
Status: NEW
Alias: None
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
Version: UCS 5.0
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: UMC maintainers
QA Contact: UMC maintainers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-18 10:57 CEST by Ole Schwiegert
Modified: 2021-05-03 21:49 CEST (History)
2 users (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):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Schwiegert univentionstaff 2018-09-18 10:57:52 CEST
With Bug #47580 a new option to remove non-alphanumeric characters was introduced into the user templates. In the current implementation you can define characters in an UCR variable that are to be excluded from removal. It would be pretty handy to allow a parametrization of this option to define exclude characters also on a per use level.

This could be helpful if special characters are to be removed say in the email address but should be allowed in the display name. It could look like that for example:

<firstname>.<lastname:alphanum['`^],trim,umlauts>@domain.de

Of course other delimiters than the square brackets could be used as well. The challenge would be to devise a correct regular expression that can handle this type of notation (e.g a , or : in the list of excluded characters)

There may be application for other (future) options as well to receive parameters.