From aca908e1e4d08d52a95edca2013c510abe2d1788 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Wed, 6 Jul 2011 10:03:04 -0500 Subject: Fixed HBAC/Sudo rules associations. The HBAC/Sudo rules associations in users, groups, hosts and host groups have been fixed to use the correct associator and method names. Ticket #1438 --- install/ui/hostgroup.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'install/ui/hostgroup.js') diff --git a/install/ui/hostgroup.js b/install/ui/hostgroup.js index 31f4c525..cad77a7a 100644 --- a/install/ui/hostgroup.js +++ b/install/ui/hostgroup.js @@ -37,6 +37,18 @@ IPA.entity_factories.hostgroup = function() { name: 'memberof_hostgroup', associator: IPA.serial_associator }). + association_facet({ + name: 'memberof_hbacrule', + associator: IPA.serial_associator, + add_method: 'add_host', + remove_method: 'remove_host' + }). + association_facet({ + name: 'memberof_sudorule', + associator: IPA.serial_associator, + add_method: 'add_host', + remove_method: 'remove_host' + }). standard_association_facets(). adder_dialog({ fields:['cn','description'] -- cgit