diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2015-06-10 15:20:50 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2015-06-11 12:21:47 +0200 |
commit | ae56ca422d1897569717fa44a5d483b10e490f6a (patch) | |
tree | e030891b9ecf412b5d3907eb979eb96ce9c31bd3 | |
parent | 99ce650b59dbf9da7dc95f1cade91fcfa55b8375 (diff) | |
download | freeipa-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>
-rw-r--r-- | install/ui/src/freeipa/topology.js | 15 |
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' - ] - } + ] };}; |