summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2015-06-10 14:44:09 +0200
committerPetr Vobornik <pvoborni@redhat.com>2015-06-15 09:38:46 +0200
commit6b153ba876edf1ed9249ed29420a4af2b2e1830d (patch)
treef8b2c8a1d3e6c7dc160f002172bcb20815791bbd /install
parentbae80b00a668b678c608d04c1b5d96871a85ece9 (diff)
downloadfreeipa-6b153ba876edf1ed9249ed29420a4af2b2e1830d.tar.gz
freeipa-6b153ba876edf1ed9249ed29420a4af2b2e1830d.tar.xz
freeipa-6b153ba876edf1ed9249ed29420a4af2b2e1830d.zip
topology: restrict direction changes
topology plugin doesn't properly handle: - creation of segment with direction 'none' and then upgrade to other direction - downgrade of direction These situations are now forbidden in API. part of: https://fedorahosted.org/freeipa/ticket/4302 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Diffstat (limited to 'install')
-rw-r--r--install/ui/src/freeipa/topology.js11
1 files changed, 2 insertions, 9 deletions
diff --git a/install/ui/src/freeipa/topology.js b/install/ui/src/freeipa/topology.js
index 20c78cb16..c8a8acbe9 100644
--- a/install/ui/src/freeipa/topology.js
+++ b/install/ui/src/freeipa/topology.js
@@ -127,14 +127,7 @@ return {
other_field: 'cn',
z_index: 1
},
- {
- $type: 'radio',
- name: 'iparepltoposegmentdirection',
- options: IPA.create_options([
- 'both', 'left-right', 'right-left', 'none'
- ]),
- default_value: 'both'
- }
+ 'iparepltoposegmentdirection'
]
},
{
@@ -180,7 +173,7 @@ return {
$type: 'radio',
name: 'iparepltoposegmentdirection',
options: IPA.create_options([
- 'both', 'left-right', 'right-left', 'none'
+ 'both', 'left-right', 'right-left'
]),
default_value: 'both'
}