summaryrefslogtreecommitdiffstats
path: root/install/ui/entity.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-01-31 17:24:42 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-01-31 23:09:13 -0500
commitf85771b2a7117c8870d800ee863ccf10fe0b13c3 (patch)
tree61dee76e0abf1fa65c1c7e2249e2a16c3ab06b28 /install/ui/entity.js
parent0dce1bc9e13d54f223b45d44e9a2108c995cd455 (diff)
downloadfreeipa-f85771b2a7117c8870d800ee863ccf10fe0b13c3.tar.gz
freeipa-f85771b2a7117c8870d800ee863ccf10fe0b13c3.tar.xz
freeipa-f85771b2a7117c8870d800ee863ccf10fe0b13c3.zip
aci association fixes
declarative priv definition fixes role_add_privilege and privilege_add_permisison
Diffstat (limited to 'install/ui/entity.js')
-rw-r--r--install/ui/entity.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/install/ui/entity.js b/install/ui/entity.js
index 82af8234e..4a8971d35 100644
--- a/install/ui/entity.js
+++ b/install/ui/entity.js
@@ -204,7 +204,14 @@ IPA.entity = function (spec) {
};
if (config){
- spec.associator = config.associator;
+ for (var key in config){
+ /*name is special, as iut has already been munged
+ into the association name */
+ if (key === "name"){
+ continue;
+ }
+ spec[key] = config[key] ;
+ }
}
facet = IPA.association_facet(spec);