diff --git a/ui/src/js/policy.js b/ui/src/js/policy.js index 20afdf43..401cda97 100755 --- a/ui/src/js/policy.js +++ b/ui/src/js/policy.js @@ -170,6 +170,7 @@ $(function () { $save.on("click", function () { let data = { "effects": $('#effects').val(), + "deny_routes": $('#deny_routes').val().split("\n").filter(element => element), "mfa_routes": $('#mfa_routes').val().split("\n").filter(element => element), "public_routes": $('#public_routes').val().split("\n").filter(element => element), } diff --git a/ui/templates/policy/rules.html b/ui/templates/policy/rules.html index 2d4cd829..aa66d512 100644 --- a/ui/templates/policy/rules.html +++ b/ui/templates/policy/rules.html @@ -50,6 +50,12 @@ +
+ + +
+