Adds per-user allowed interfaces (WIP)

This commit is contained in:
Simone Mainardi 2016-06-11 15:30:34 +02:00
parent 400ad58131
commit 4091c9c38d
11 changed files with 377 additions and 184 deletions

View file

@ -18,9 +18,10 @@ if(haveAdminPrivileges()) then
print(' "password": "'..value["password"]..'",\n')
print(' "full_name": "'..value["full_name"]..'",\n')
print(' "group": "'..value["group"]..'",\n')
print(' "allowed_nets": "'..value["allowed_nets"]..'"\n')
print(' "allowed_nets": "'..value["allowed_nets"]..'",\n')
print(' "allowed_ifname": "'..value["allowed_ifname"]..'"\n')
end
end
print("}")
end
end