Password field should allow user-specified regex
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Murano |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
The default password regex is very restrictive. It'd be nice to be able to specify the regex as part of the UI descriptor (and the existing one could be a default). This could be an additional attribute for 'password' fields with the defaults currently hardcoded in dynamic_fields -
min_length: 7
max_length: 255
regex: '^.*(?=
special_
description_text: 'at least one letter, one number and one special character'
The help text becomes "Enter a password with %(description_
The validator becomes regex % special_characters.
Changed in murano: | |
importance: | Low → Wishlist |
status: | New → Confirmed |
milestone: | none → 2015.1 |
Changed in murano: | |
milestone: | 2015.1.0 → none |
Changed in murano: | |
milestone: | none → liberty-1 |
Changed in murano: | |
milestone: | liberty-1 → liberty-2 |
Changed in murano: | |
milestone: | liberty-2 → liberty-3 |
Changed in murano: | |
milestone: | liberty-3 → liberty-rc1 |
Changed in murano: | |
milestone: | liberty-rc1 → next |
Changed in murano: | |
milestone: | next → mitaka-1 |
Changed in murano: | |
assignee: | nobody → Akanksha Srivastava (akanksha-dlf) |
Changed in murano: | |
milestone: | mitaka-1 → mitaka-2 |
Changed in murano: | |
milestone: | mitaka-2 → mitaka-3 |
Changed in murano: | |
milestone: | mitaka-3 → mitaka-rc1 |
We definitely should allow to set password string in ui definition