Fixes SNMP devices permissions to prevent non-admins to delete or add devices

Fixes #2019

This commit is a companion of pro commit edc2b7f1f96740217244e3430147980c6c72b5a2
This commit is contained in:
Simone Mainardi 2018-11-22 12:51:04 +01:00
parent 91b3d699e1
commit a8402fa1dc
2 changed files with 2 additions and 3 deletions

View file

@ -377,7 +377,7 @@ print [[
end
if ntop.isEnterprise() and isAdministrator() then
if ntop.isEnterprise() then
if active_page == "devices_stats" then
print [[ <li class="dropdown active"> ]]
else