Showing up service/periodicity for non admin users (#6035)

This commit is contained in:
MatteoBiscosi 2021-11-02 14:21:19 +01:00
parent c07a90e919
commit ba05cc6760

View file

@ -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