On 1/27/2012 10:49 AM, Petr Vobornik wrote:
In current implementation target facet of navigation(from menu) and
redirection is always one exact facet per entity. There isn't a way to
navigate to different facet from menu or redirect to different facets
from various facets.

This patch adds:
* possibility to define menu items which can navigate to different
facets of various entities. This also means that now current menu tree
can contain leafs with the same entity.
* possibility to define redirection target per facet - it is needed to
keep breadcrumb navigation consistent with various navigation tree patch
leading leafs with same entity.

This functionality is needed for Automember UI. Automember UI is
designed as if it was for two entities but it is in fact only one.

Note: attaching early (missing a lot of stuff) WIP patch of Automember
UI to illustrate usage of this patch.

https://fedorahosted.org/freeipa/ticket/2195

ACK. Pushed to master and ipa-2-2.

There are some existing problems with redirection.

In users search facet, when you click a user that's already deleted via CLI, the UI doesn't redirect. This is because it uses a batch command to pull user data & policies. The batch itself will return a success although the operations inside it fail.

The automount location and map do not redirect either if it's already deleted. The automount key does redirect, but to the locations instead of to the map.

--
Endi S. Dewata

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to