[Freeipa-devel] [PATCH] Fixed action panel queries
Endi Sukma Dewata
edewata at redhat.com
Fri Nov 19 21:33:30 UTC 2010
Hi,
Please review the attached patch. Thanks!
Previously the queries for action panel were done globally. Since each
entity container has its own action panel, the queries will return
multiple results. This is fixed by qualifying the query to run within
the entity container.
The query has also been moved into ipa_facet.get_action_panel().
Entities that do not have their own entity container (e.g. HBAC services
and service groups) will need to override this method to get the action
panel from the right entity container (e.g. HBAC rules).
The facet.setup_views() has been renamed to facet.create_action_panel().
New test data for SUDO rules have been added.
--
Endi S. Dewata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-edewata-0037-Fixed-action-panel-queries.patch
Type: text/x-patch
Size: 24642 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20101119/ea191dec/attachment.bin>
More information about the Freeipa-devel
mailing list