mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
webui: rename IPA.user_* to IPA.user.*
Or in other words, move all objects which belong to user module to the module. Therefore they no longer pollutes the main 'IPA' module. Therefore: require('freeipa/ipa').user == require('freeipa/user') Reviewed-By: David Kupka <dkupka@redhat.com> Reviewed-By: Thierry Bordaz <tbordaz@redhat.com>
This commit is contained in:
parent
a4c0f780b7
commit
69bc4f4955
@ -125,7 +125,7 @@ return {
|
|||||||
fields: [
|
fields: [
|
||||||
'uid',
|
'uid',
|
||||||
{
|
{
|
||||||
$factory: IPA.user_password_widget,
|
$factory: IPA.user.password_widget,
|
||||||
name: 'has_password',
|
name: 'has_password',
|
||||||
metadata: '@mo-param:user:userpassword'
|
metadata: '@mo-param:user:userpassword'
|
||||||
},
|
},
|
||||||
@ -361,7 +361,7 @@ return {
|
|||||||
$pre_ops: [ IPA.user.association_facet_ss_pre_op ]
|
$pre_ops: [ IPA.user.association_facet_ss_pre_op ]
|
||||||
},
|
},
|
||||||
adder_dialog: {
|
adder_dialog: {
|
||||||
$factory: IPA.user_adder_dialog,
|
$factory: IPA.user.adder_dialog,
|
||||||
sections: [
|
sections: [
|
||||||
{
|
{
|
||||||
fields: [
|
fields: [
|
||||||
@ -472,7 +472,7 @@ IPA.user.association_facet_ss_pre_op = function(spec, context) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
IPA.user_adder_dialog = function(spec) {
|
IPA.user.adder_dialog = function(spec) {
|
||||||
|
|
||||||
var that = IPA.entity_adder_dialog(spec);
|
var that = IPA.entity_adder_dialog(spec);
|
||||||
|
|
||||||
@ -501,7 +501,7 @@ IPA.user_adder_dialog = function(spec) {
|
|||||||
return that;
|
return that;
|
||||||
};
|
};
|
||||||
|
|
||||||
IPA.user_password_widget = function(spec) {
|
IPA.user.password_widget = function(spec) {
|
||||||
|
|
||||||
spec = spec || {};
|
spec = spec || {};
|
||||||
spec.read_only = true;
|
spec.read_only = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user