#2920 Measure unit support in server plugins
Closed: wontfix 5 years ago Opened 11 years ago by pvoborni.

Some parameters have measure unit included in label. We might receive more tickets like #2444 or #2437 to add measure unit to some parameters.

I propose to introduce new parameter's attribute: 'measure_unit' and move there all occurrences of measure units from labels. Client applications would then decide where and when to display measure units.

Benefits:
- labels won't be polluted with measure units
- change in plugin will update both CLI and Web UI or other client

Current:

Int('krbmaxpwdlife?',
    cli_name='maxlife',
    label=_('Max lifetime (days)'),
    doc=_('Maximum password lifetime (in days)'),
    minvalue=0,
),

Proposed:

Int('krbmaxpwdlife?',
    cli_name='maxlife',
    label=_('Max lifetime'),
    doc=_('Maximum password lifetime (in days)'),
    measure_unit:_('days'),
    minvalue=0,
),

Changing 3.2 priority

Metadata Update from @pvoborni:
- Issue assigned to rcritten
- Issue set to the milestone: Future Releases

7 years ago

Thank you taking time to submit this request for FreeIPA. Unfortunately this bug was not given priority and the team lacks the capacity to work on it at this time.

Given that we are unable to fulfil this request I am closing the issue as wontfix. To request re-consideration of this decision please reopen this issue and provide additional technical details about its importance to you.

Metadata Update from @rcritten:
- Issue close_status updated to: wontfix
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata