diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2012-09-06 13:22:21 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2012-09-06 13:59:33 +0200 |
commit | da0be8b6b192c3005da6b05dfe6bb5eb7f97f797 (patch) | |
tree | 3cf6dfee9c66889c635dfc41ef10a01d2b90a9e0 /install | |
parent | 47ff46d042fd4803f03ee8854fd07984bd03a3f5 (diff) | |
download | freeipa-da0be8b6b192c3005da6b05dfe6bb5eb7f97f797.tar.gz freeipa-da0be8b6b192c3005da6b05dfe6bb5eb7f97f797.tar.xz freeipa-da0be8b6b192c3005da6b05dfe6bb5eb7f97f797.zip |
Allow localhost in zone ACIs - Web UI
Loopback address, "localhost" and "localnets" ACIs are no longer
an issue for bind-dyndb-ldap. Allow them in our Web UI validators as well.
Diffstat (limited to 'install')
-rw-r--r-- | install/ui/dns.js | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/install/ui/dns.js b/install/ui/dns.js index 33db481b8..43703e03f 100644 --- a/install/ui/dns.js +++ b/install/ui/dns.js @@ -168,11 +168,8 @@ IPA.dns.zone_entity = function(spec) { type: 'netaddr', name: 'idnsallowquery', validators: [ - IPA.unsupported_validator({ - unsupported: ['localhost', 'localnets'] - }), IPA.network_validator({ - specials: ['any', 'none'], + specials: ['any', 'none', 'localhost', 'localnets'], allow_negation: true, allow_host_address: true })] @@ -181,11 +178,8 @@ IPA.dns.zone_entity = function(spec) { type: 'netaddr', name: 'idnsallowtransfer', validators: [ - IPA.unsupported_validator({ - unsupported: ['localhost', 'localnets'] - }), IPA.network_validator({ - specials: ['any', 'none'], + specials: ['any', 'none', 'localhost', 'localnets'], allow_negation: true, allow_host_address: true })] |