summaryrefslogtreecommitdiffstats
path: root/install/ui
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-11-02 14:02:39 +0100
committerPetr Vobornik <pvoborni@redhat.com>2012-11-09 17:46:04 +0100
commit1bf537db9e6e5a66a7c3ce58019693098ff090f7 (patch)
tree13477b310af6f365318f7eaaef0e80d30c98ae3c /install/ui
parent610594156eafee2d0ced3a4d0484e4436b6f973d (diff)
downloadfreeipa-1bf537db9e6e5a66a7c3ce58019693098ff090f7.tar.gz
freeipa-1bf537db9e6e5a66a7c3ce58019693098ff090f7.tar.xz
freeipa-1bf537db9e6e5a66a7c3ce58019693098ff090f7.zip
Web UI: disable global forwarding per zone
Web UI part of 'disable global forwaring per zone' effort. Option "Forwarding disabled" was added to 'DNS global config' and 'DNS zone' forwarding policy. It corresponds to 'none' value of idnsforwardpolicy. https://fedorahosted.org/freeipa/ticket/3209
Diffstat (limited to 'install/ui')
-rw-r--r--install/ui/dns.js8
-rw-r--r--install/ui/test/data/ipa_init.json1
2 files changed, 9 insertions, 0 deletions
diff --git a/install/ui/dns.js b/install/ui/dns.js
index 43703e03f..fd6127d34 100644
--- a/install/ui/dns.js
+++ b/install/ui/dns.js
@@ -72,6 +72,10 @@ IPA.dns.config_entity = function(spec) {
{
value: 'only',
label: IPA.messages.objects.dnsconfig.forward_only
+ },
+ {
+ value: 'none',
+ label: IPA.messages.objects.dnsconfig.forward_none
}
]
},
@@ -201,6 +205,10 @@ IPA.dns.zone_entity = function(spec) {
{
value: 'only',
label: IPA.messages.objects.dnsconfig.forward_only
+ },
+ {
+ value: 'none',
+ label: IPA.messages.objects.dnsconfig.forward_none
}
]
},
diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json
index 2b95c91d3..41f2c6270 100644
--- a/install/ui/test/data/ipa_init.json
+++ b/install/ui/test/data/ipa_init.json
@@ -222,6 +222,7 @@
"delegation": {},
"dnsconfig": {
"forward_first": "Forward first",
+ "forward_none": "Forwarding disabled",
"forward_only": "Forward only",
"options": "Options"
},