summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-06-20 10:59:12 -0400
committerEndi S. Dewata <edewata@redhat.com>2011-06-21 01:14:57 +0000
commit5f23c29d7088e1bfdf7c857783b694ecacc1ec90 (patch)
tree1273ab97c3f489c6cf96205818afe5e48a1872f5
parenteeed975bc6e0ee95bb6d06dd1397a3ca8c6f2bf9 (diff)
downloadfreeipa-5f23c29d7088e1bfdf7c857783b694ecacc1ec90.tar.gz
freeipa-5f23c29d7088e1bfdf7c857783b694ecacc1ec90.tar.xz
freeipa-5f23c29d7088e1bfdf7c857783b694ecacc1ec90.zip
entity select for password policy http://fedorahosted.org/freeipa/ticket/1110
-rw-r--r--install/ui/policy.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/install/ui/policy.js b/install/ui/policy.js
index f6bec48cf..d30abbfdc 100644
--- a/install/ui/policy.js
+++ b/install/ui/policy.js
@@ -38,7 +38,14 @@ IPA.entity_factories.pwpolicy = function() {
}]}).
standard_association_facets().
adder_dialog({
- fields:['cn', 'cospriority']
+ fields:[
+ {
+ factory:IPA.entity_select_widget,
+ name: 'cn',
+ entity: 'group',
+ undo: false
+ },
+ 'cospriority']
}).
build();
};