From e5b30a89b91529fdda0b48ba9aa7b4e55432e6ac Mon Sep 17 00:00:00 2001 From: Adam Young Date: Thu, 17 Mar 2011 19:52:52 -0400 Subject: pwpolicy priority Priority is now a required field in order to add a new password policy. Thus, not having the field present means we cannot create one. https://fedorahosted.org/freeipa/ticket/1102 --- install/ui/policy.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install/ui/policy.js b/install/ui/policy.js index 8c954288..bbbf5804 100644 --- a/install/ui/policy.js +++ b/install/ui/policy.js @@ -621,7 +621,9 @@ IPA.entity_factories.pwpolicy = function() { title: IPA.messages.objects.pwpolicy.add, entity_name:'pwpolicy' }). - field(IPA.text_widget({name: 'cn', undo: false})))); + field(IPA.text_widget({name: 'cn', undo: false})). + field(IPA.text_widget({name: 'cospriority', + undo: false})))); that.facet( IPA.details_facet({name:'details'}). @@ -635,7 +637,6 @@ IPA.entity_factories.pwpolicy = function() { input({name:'krbpwdhistorylength'}). input({name:'krbpwdmindiffchars'}). input({name:'krbpwdminlength'}))); - that.create_association_facets(); that.entity_init(); -- cgit