mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-04 14:26:13 -04:00
dns/bind: ensure the ACL names are unique (#3254)
This commit is contained in:
parent
0b0c5b8dd4
commit
23aae2f87e
2 changed files with 7 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ Plugin Changelog
|
|||
|
||||
1.25
|
||||
|
||||
* Ensure you can only add one ACL with the same name (contributed by Robbert Rijkse)
|
||||
* Cleanup/Fix the Master/Slave domain dialogs (contributed by Robbert Rijkse)
|
||||
* Revamp the logging page with proper columns (contributed by Robbert Rijkse)
|
||||
* Add UI for RNDC Key configuration (contributed by Robbert Rijkse)
|
||||
|
|
|
|||
|
|
@ -14,6 +14,12 @@
|
|||
<Required>Y</Required>
|
||||
<mask>/^(?!any$|localhost$|localnets$|none$)[0-9a-zA-Z_\-]{1,32}$/u</mask>
|
||||
<ValidationMessage>Should be a string between 1 and 32 characters. Allowed characters are 0-9, a-z, A-Z, _ and -. Built-in ACL names must not be used: any, localhost, localnets, none.</ValidationMessage>
|
||||
<Constraints>
|
||||
<check001>
|
||||
<ValidationMessage>An ACL with this name already exists.</ValidationMessage>
|
||||
<type>UniqueConstraint</type>
|
||||
</check001>
|
||||
</Constraints>
|
||||
</name>
|
||||
<networks type="NetworkField">
|
||||
<default></default>
|
||||
|
|
|
|||
Loading…
Reference in a new issue