summaryrefslogtreecommitdiffstats
path: root/install/ui/netgroup.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-02-11 18:04:04 -0600
committerAdam Young <ayoung@redhat.com>2011-02-15 17:45:46 -0500
commiteb8f091c9bfce3f6d4004bbf214e169aa3f8fe29 (patch)
tree0ee90b8bc6f57a83e6502f29a51e8b3cfd8d5180 /install/ui/netgroup.js
parent1e9f923c495710bb9e9c47b6893e32c7829d3c45 (diff)
downloadfreeipa-eb8f091c9bfce3f6d4004bbf214e169aa3f8fe29.tar.gz
freeipa-eb8f091c9bfce3f6d4004bbf214e169aa3f8fe29.tar.xz
freeipa-eb8f091c9bfce3f6d4004bbf214e169aa3f8fe29.zip
Fixed association facets.
The association config has been removed because it incorrectly assumes there is only one association between two entities. Now each association is defined separately using association facets. The service.py has been modified to specify the correct relationships. The API.txt has been updated. https://fedorahosted.org/freeipa/ticket/960
Diffstat (limited to 'install/ui/netgroup.js')
-rw-r--r--install/ui/netgroup.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/install/ui/netgroup.js b/install/ui/netgroup.js
index d7908ef3..14be6c0a 100644
--- a/install/ui/netgroup.js
+++ b/install/ui/netgroup.js
@@ -54,6 +54,12 @@ IPA.entity_factories.netgroup = function() {
input({name: 'description'}).
input({name: 'nisdomainname'})));
+ that.facet(
+ IPA.association_facet({
+ name: 'memberof_netgroup',
+ associator: IPA.serial_associator
+ }));
+
that.create_association_facets();
that.entity_init();
};