diff options
author | Adam Young <ayoung@redhat.com> | 2010-09-07 10:08:19 -0400 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2010-09-07 10:08:19 -0400 |
commit | dde15772700da41ec931bb55087fbec6f30fab55 (patch) | |
tree | 890bd7ecd8bb4d906c4b670b772b2a960c50f3c1 /install/static/netgroup.js | |
parent | e93932b3235fc27b31a59c0cb77250acf15d3f31 (diff) | |
download | freeipa-dde15772700da41ec931bb55087fbec6f30fab55.tar.gz freeipa-dde15772700da41ec931bb55087fbec6f30fab55.tar.xz freeipa-dde15772700da41ec931bb55087fbec6f30fab55.zip |
associations
-Refactored the associations code into a set of objects that are configured by the entities
-Added support for associations that can be done in a single rpc
-hostgroup to host and group to user associations working
-Restructed sampledata so that the file is matched automatically by the RPC method name
-The new ipa_cmd/sampledata scheme insists on there being sample data for any commands or the ipa_command fails.
-Added sampledata files for all the calls we make
-renamed several of the sampledata files to match their rpc calls
-Started a pattern of refactoring where all the forms for the entity fall under a single object
Diffstat (limited to 'install/static/netgroup.js')
-rw-r--r-- | install/static/netgroup.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/install/static/netgroup.js b/install/static/netgroup.js index 5659fbd21..88338b1db 100644 --- a/install/static/netgroup.js +++ b/install/static/netgroup.js @@ -16,7 +16,7 @@ var netgroup_details_list = ['nisdomainname', 'NIS Domain']]]]; -var netgroupDetailsForm = new DetailsForm("netgroup",netgroup_details_list,"cn","sampledata/netgroupshow.json") ; +var netgroupDetailsForm = new DetailsForm("netgroup",netgroup_details_list,"cn", ["details","hosts","groups","users"]) ; var netgroupAddProperties = @@ -32,7 +32,6 @@ function netgroupAddOptionsFunction (){ return options; } - var netgroupBuilder = new EntityBuilder("netgroup",netgroupAddProperties,netgroupAddOptionsFunction); @@ -43,4 +42,4 @@ var netgroupSearchColumns = [ {title:"Description", column:"description",render: renderSimpleColumn}]; var netgroupSearchForm = - new SearchForm("netgroup", "find", netgroupSearchColumns,"sampledata/netgrouplist.json"); + new SearchForm("netgroup", "find", netgroupSearchColumns); |