Ticket #347 (new enhancement)

Opened 15 years ago

Last modified 15 years ago

Use radio widget for selecting global roles

Reported by: disabled-hc@… Owned by: fguillaume
Priority: P2 Milestone: unspecified
Component: CPSDirectory Version: unspecified
Severity: normal Keywords:
Cc:

Description

Use radio widget for selecting global roles

Only Member and Manager make sense in a member entry. Just two radios for selecting either one or the other would be nice for customers and avoid questions about other roles not working when set globally.

Do we render them manually or generate a list of radio inputs from a vocabulary (global_roles?) ?

Change History

comment:1 Changed 15 years ago by atchertchian

The Generic Select widget is able to render radio buttons from a vocabulary. Using a new vocabulary 'global_roles' would be the easiest way to do it, but this widget does not support translation (but the Select and MultiSelect? widgets, currently used in the members layout, do not either, anyway...).

comment:2 Changed 15 years ago by atchertchian

The members layout is now a Generic MultiSelect? widget. It does not support translation. It does not diplay radio buttons, but checkboxes, because, when using an LDAP User Groups folder, for instance, some users could have both roles (Member and Manager), and when editing their preferences, they could lose one of these roles because of the radio buttons selection.

Note: See TracTickets for help on using tickets.