mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
dns/bind: ensure the ACL names are unique (#3254)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user