mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
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:
parent
91b3d699e1
commit
a8402fa1dc
2 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue