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>
This commit is contained in:
Petr Vobornik
2015-06-10 15:20:50 +02:00
parent 99ce650b59
commit ae56ca422d

View File

@@ -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'
]
}
]
};};