mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Showing up service/periodicity for non admin users (#6035)
This commit is contained in:
parent
c07a90e919
commit
ba05cc6760
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ local maps_utils = {}
|
|||
-- ##############################################
|
||||
|
||||
local function areMapsEnabled()
|
||||
local res = (ntop.isEnterpriseL() or ntop.isnEdgeEnterprise()) and ntop.isAdministrator() and (ntop.getPref(behavior_maps_key) == "1")
|
||||
local res = (ntop.isEnterpriseL() or ntop.isnEdgeEnterprise()) and (ntop.getPref(behavior_maps_key) == "1")
|
||||
|
||||
return res
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue