diff options
author | Adam Young <ayoung@redhat.com> | 2011-06-30 17:38:59 -0400 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-07-01 16:49:49 -0400 |
commit | 7a25523d63559b19babd83c74223d2d0c4d75157 (patch) | |
tree | 3a6048b9c4c8bead5e9879e8edd4ba58f42226ae /install/ui/policy.js | |
parent | 58eec70884fba522fe5865355351e906f07d228e (diff) | |
download | freeipa-7a25523d63559b19babd83c74223d2d0c4d75157.tar.gz freeipa-7a25523d63559b19babd83c74223d2d0c4d75157.tar.xz freeipa-7a25523d63559b19babd83c74223d2d0c4d75157.zip |
entity link for password policy
https://fedorahosted.org/freeipa/ticket/1111
reset() now hides both the link and the label
calucalating should_link is now a function that can be overloaded.
Diffstat (limited to 'install/ui/policy.js')
-rw-r--r-- | install/ui/policy.js | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/install/ui/policy.js b/install/ui/policy.js index d30abbfd..cd0e499e 100644 --- a/install/ui/policy.js +++ b/install/ui/policy.js @@ -33,8 +33,15 @@ IPA.entity_factories.pwpolicy = function() { sections:[ { name : 'identity', - fields:['krbmaxpwdlife','krbminpwdlife','krbpwdhistorylength', - 'krbpwdmindiffchars','krbpwdminlength'] + fields:[ + { + factory: IPA.entity_link_widget, + name: 'cn', + entity: 'group', + no_link_value: 'global_policy' + }, + 'krbmaxpwdlife','krbminpwdlife','krbpwdhistorylength', + 'krbpwdmindiffchars','krbpwdminlength'] }]}). standard_association_facets(). adder_dialog({ |