FreeNAS/freenas 78eda99 — gui/services forms.py, src/middlewared/middlewared/plugins rsync.py
Correctly set hostsallow/hostsdeny for RsyncMod This commit fixes a bug where we did not correctly set hostsallow/hostsdeny fields which when an existing was modified, resulted in a value like this "['first_ip']". It also adds validation to the create/update methods ensuring only correct values are accepted.
Delta | File | |
---|---|---|
+47 | -29 | src/middlewared/middlewared/plugins/rsync.py |
+1 | -0 | gui/services/forms.py |
+48 | -29 | 2 files |