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
This commit is contained in:
Adam Young 2011-03-17 19:52:52 -04:00
parent b2a4f1c049
commit e5b30a89b9

View File

@ -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();