mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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.
This commit is contained in:
committed by
Martin Kosek
parent
47ff46d042
commit
da0be8b6b1
@@ -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
|
||||
})]
|
||||
|
||||
Reference in New Issue
Block a user