[Freeipa-devel] [PATCH] 168 Password policy measurement units

Petr Vobornik pvoborni at redhat.com
Mon Jul 9 15:21:14 UTC 2012


Note: I think we should improve handling of measurement units in server 
plugins. Label and measurement unit should be separated and send in 
metadata. Client - Web UI or CLI would then decide when and where to 
display the units. I will create an enhancement ticket for it.

Patch description:

When filling password policy it may be unclear what value to enter 
because user may not remember field's measurement unit.

This patch adds support for declaring measurement units. It's done in 
field's/widget's spec by entering key for unit's string (which is in 
IPA.messages.measurement_units[key]).

Measurement units in table layout are displayed in parenthesis after 
label. It is to be consistent with some fields which have measurement 
unit integrated in label.

This patch defines measurement units for password policy's 'History 
size', 'Failure reset interval' and 'Lockout duration' fields.

https://fedorahosted.org/freeipa/ticket/2437

-- 
Petr Vobornik

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0168-Password-policy-measurement-units.patch
Type: text/x-patch
Size: 7827 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120709/145ec687/attachment.bin>


More information about the Freeipa-devel mailing list