mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Added user role in About page
Fixed SQL when exploring subnets Modified preferences to specify that when nDPI RRDs are created, they do for both local hosts and networks
This commit is contained in:
parent
228c407249
commit
4bf10f4fce
7 changed files with 72 additions and 23 deletions
|
|
@ -1476,13 +1476,13 @@ end
|
|||
-- ##############################################
|
||||
|
||||
function isAdministrator()
|
||||
local user_group = ntop.getUserGroup()
|
||||
|
||||
if(user_group == "administrator") then
|
||||
return(true)
|
||||
else
|
||||
return(false)
|
||||
end
|
||||
local user_group = ntop.getUserGroup()
|
||||
|
||||
if(user_group == "administrator") then
|
||||
return(true)
|
||||
else
|
||||
return(false)
|
||||
end
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue