Ticket #2117 (new defect)

Opened 10 years ago

Last modified 10 years ago

Search for pseudo groups in Manage Local Roles

Reported by: gracinet Owned by: trac
Priority: P2 Milestone: CPS 3.4.10
Component: CPSDefault Version: TRUNK
Severity: normal Keywords: usability local roles
Cc:

Description

If the search criterion is *, the results are all the groups from the groups directory. If the criterion is left empty, then the results are all the groups plus the pseudo groups (Authenticated users, All users).

This is a vicious usability bug: the fact to get all the groups with the star makes the user believe that the pseudo groups have become unreachable.

This is because of the matching being done for pseudo-groups, that directly compares the criterion with the pseudo-group ids (which are role:Authenticated and role:Anonymous), and the star simply doesn't match them.

A Simple fix would be to recognize the star. A better fix would be to also match on the translated value (in french, that's for instance "Tous les utilisateurs")

Side note: CPSDashboards provides a different search scheme (also more robust wrt changes in directory configuration), which treats pseudo groups aside from regular ones.

Change History

comment:1 Changed 10 years ago by madarche

I think the best solution would be to have the same UI regarding the pseudo groups as it is with CPSDashboards and to never have the pseudo groups returned by the search.

comment:2 Changed 10 years ago by gracinet

You're right, but in the meanwhile that's an easy and quick fix (pushed on mercurial.racinet.org)

Note: See TracTickets for help on using tickets.