Add checks for nedge enterprise

This commit is contained in:
Alfredo Cardigliano 2025-04-15 15:46:24 +02:00
parent 0039160f18
commit a55841794b
3 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ if not isAdministratorOrPrintErr() then
return
end
if not ntop.isEnterpriseL() then
if not ntop.isEnterpriseL() and not ntop.isnEdgeEnterprise() then
rest_utils.answer(rest_utils.consts.err.not_granted)
return
end