mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
declarative for aci
A couple of the ACI definitions were incorrect, and the end result was that fields were not getting initialized. USing the declarative approach cleaned up the cause. Also fixed a few broken unit tests
This commit is contained in:
@@ -31,24 +31,20 @@ IPA.entity_factories.config = function(){
|
||||
|
||||
var that = IPA.entity({
|
||||
name: 'config'
|
||||
});
|
||||
|
||||
var details = IPA.details_facet();
|
||||
|
||||
details.add_section(
|
||||
IPA.stanza({name:'ipaserver', label:'Configuration'}).
|
||||
input({name:'cn', label:'Name'}).
|
||||
input({name:'ipacertificatesubjectbase'}).
|
||||
input({name:'ipadefaultloginshell'}).
|
||||
input({name:'ipadefaultprimarygroup'}).
|
||||
input({name:'ipagroupsearchfields'}).
|
||||
input({name:'ipahomesrootdir'}).
|
||||
input({name:'ipamaxusernamelength'}).
|
||||
input({name:'ipamigrationenabled'}).
|
||||
input({name:'ipasearchrecordslimit'}).
|
||||
input({name:'ipasearchtimelimit'}).
|
||||
input({name:'ipausersearchfields'}));
|
||||
|
||||
that.add_facet(details);
|
||||
}).facet(
|
||||
IPA.details_facet().
|
||||
section(
|
||||
IPA.stanza({name:'ipaserver', label:'Configuration'}).
|
||||
input({name:'cn', label:'Name'}).
|
||||
input({name:'ipacertificatesubjectbase'}).
|
||||
input({name:'ipadefaultloginshell'}).
|
||||
input({name:'ipadefaultprimarygroup'}).
|
||||
input({name:'ipagroupsearchfields'}).
|
||||
input({name:'ipahomesrootdir'}).
|
||||
input({name:'ipamaxusernamelength'}).
|
||||
input({name:'ipamigrationenabled'}).
|
||||
input({name:'ipasearchrecordslimit'}).
|
||||
input({name:'ipasearchtimelimit'}).
|
||||
input({name:'ipausersearchfields'})));
|
||||
return that;
|
||||
};
|
||||
Reference in New Issue
Block a user