Development #8140
On user role page pre-select the entity of the user and show all roles of this entity with checkboxes
Start date:
31 August 2015
Due date:
% Done:
100%
Estimated time:
Patch proposed:
No
Planning:
Description
There will be an adaptative UI:
- if an entity is selected all roles are shown, and they are added through checkboxes
- if no entity is selected a search input with typeahead is used
Related issues
Associated revisions
History
Updated by Benjamin Dauvergne over 7 years ago
- Related to Development #8009: Ajouter sélecteur de collectivité sur la page des rôles, pré-positionné added
Updated by Benjamin Dauvergne over 7 years ago
- Status changed from En cours to Résolu (à déployer)
- % Done changed from 0 to 100
Appliqué par commit authentic2|25cb90758ccdf792b5ed4d96d4784791430f368b.
Updated by Benjamin Dauvergne almost 7 years ago
- Status changed from Résolu (à déployer) to Solution déployée
manager: improve UI and especially the one for user's roles management (#8280)
- default to show user's roles form her ou';
- when an ou is selected all roles of this ou are shown,
and selection is done through checkboxes instead of a django-select2
selector (fixes #8140)
- all search forms are now ajax loaded (but the search button has been kept,
in case..), for free text search loading starts 600ms after the last user
keypress (no need to leave the input field),
- when a role is inherited but the user is not directly a member of it, an
indeterminate checkbox representation is used;
- proper history is maintained for the browser back button to work,
even the state of the search form is restored; it also improves navigation
using the pagination links (which were already loaded using ajax),