mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
@@ -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'
|
||||
]
|
||||
}
|
||||
]
|
||||
};};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user