summaryrefslogtreecommitdiffstats
path: root/install/ui/src
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2015-06-10 15:20:50 +0200
committerPetr Vobornik <pvoborni@redhat.com>2015-06-11 12:21:47 +0200
commitae56ca422d1897569717fa44a5d483b10e490f6a (patch)
treee030891b9ecf412b5d3907eb979eb96ce9c31bd3 /install/ui/src
parent99ce650b59dbf9da7dc95f1cade91fcfa55b8375 (diff)
downloadfreeipa-ae56ca422d1897569717fa44a5d483b10e490f6a.tar.gz
freeipa-ae56ca422d1897569717fa44a5d483b10e490f6a.tar.xz
freeipa-ae56ca422d1897569717fa44a5d483b10e490f6a.zip
webui: make topology suffices UI readonly
Admins should not modify topology suffices. They are created on install/upgrade. part of: https://fedorahosted.org/freeipa/ticket/4997 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Diffstat (limited to 'install/ui/src')
-rw-r--r--install/ui/src/freeipa/topology.js15
1 files changed, 7 insertions, 8 deletions
diff --git a/install/ui/src/freeipa/topology.js b/install/ui/src/freeipa/topology.js
index 51714d99f..20c78cb16 100644
--- a/install/ui/src/freeipa/topology.js
+++ b/install/ui/src/freeipa/topology.js
@@ -52,6 +52,7 @@ return {
$type: 'search',
disable_facet_tabs: false,
tabs_in_sidebar: true,
+ no_update: true,
tab_label: '@mo:topologysuffix.label',
facet_groups: [topology.search_facet_group],
facet_group: 'search',
@@ -77,23 +78,21 @@ return {
},
{
$type: 'details',
+ no_update: true,
sections: [
{
name: 'details',
fields: [
'cn',
- 'iparepltopoconfroot'
+ {
+ name: 'iparepltopoconfroot',
+ read_only: true
+ }
]
}
]
}
- ],
- adder_dialog: {
- fields: [
- 'cn',
- 'iparepltopoconfroot'
- ]
- }
+ ]
};};