Description of problem:
There is no way to distinguish between user and group in search
return both users and groups
Users: usrname = ""
p.s its doesn't sounds right conceptual, as Users: search returns groups ...
for groups the search should look like (SearchType.DBGroup, "Groups:...")
(In reply to comment #1)
> p.s its doesn't sounds right conceptual, as Users: search returns groups ...
> for groups the search should look like (SearchType.DBGroup, "Groups:...")
this may be a bit more problematic, but type=users|groups as search parameter is probably easily achievable.
Ok, so the 'Users' search should only return users and the 'Groups:' search should only return groups?
Should the 'groups' results still be displayed in the users tab or should there be a new tab for them?
Einav - in reply to comment#3, can you please provide information about the UI tabs?
(In reply to comment #4)
> Einav - in reply to comment#3, can you please provide information about the
> UI tabs?
depends on the search-syntax solution: We basically have a main tab for every searchable business entity.
If we want to separate Users and Group to be conceptually different business entities, then each one of them should have a main tab of its own.
However, we need to consider more things, such as dialogs that contain users/groups search (e.g. "Add Permission" dialog) - should we have a separation there as well? What about the permissions sub-tab? should we have separate sub-tabs for users permissions and group permissions?
Personally, I don't perceive them as separate business entities: Although they are completely different from directory-services perspective, they are almost the same from oVirt's perspective.
Therefore, I tend to think that having type=users|groups as search parameter (as Itamar has suggested in Comment #2) is better than having two separate business entities (Users and Groups). In this case, there is no affect at all on the GUI - we remain with Users main tab only, no need to re-think about users-search within dialogs, users-related business entities GUI representation (e.g. permissions), etc.
merged upstream I5aceb6b682c554afeaa347e7574b2073fcbdc82f
3.2 beta built, moving to ON_QA status to allow testing