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',
|
$type: 'search',
|
||||||
disable_facet_tabs: false,
|
disable_facet_tabs: false,
|
||||||
tabs_in_sidebar: true,
|
tabs_in_sidebar: true,
|
||||||
|
no_update: true,
|
||||||
tab_label: '@mo:topologysuffix.label',
|
tab_label: '@mo:topologysuffix.label',
|
||||||
facet_groups: [topology.search_facet_group],
|
facet_groups: [topology.search_facet_group],
|
||||||
facet_group: 'search',
|
facet_group: 'search',
|
||||||
@@ -77,23 +78,21 @@ return {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
$type: 'details',
|
$type: 'details',
|
||||||
|
no_update: true,
|
||||||
sections: [
|
sections: [
|
||||||
{
|
{
|
||||||
name: 'details',
|
name: 'details',
|
||||||
fields: [
|
fields: [
|
||||||
'cn',
|
'cn',
|
||||||
'iparepltopoconfroot'
|
{
|
||||||
|
name: 'iparepltopoconfroot',
|
||||||
|
read_only: true
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
adder_dialog: {
|
|
||||||
fields: [
|
|
||||||
'cn',
|
|
||||||
'iparepltopoconfroot'
|
|
||||||
]
|
|
||||||
}
|
|
||||||
};};
|
};};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user