mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Report improvements
This commit is contained in:
parent
5dff1657df
commit
0a0a6f7ff6
3 changed files with 69 additions and 42 deletions
|
|
@ -23,7 +23,7 @@ local rc = rest_utils.consts.success.ok
|
|||
local ifid = _GET["ifid"]
|
||||
local action = _GET["action"]
|
||||
|
||||
if not ntop.isPro() or not auth.has_capability(auth.capabilities.alerts) then
|
||||
if not auth.has_capability(auth.capabilities.alerts) then
|
||||
rest_utils.answer(rest_utils.consts.err.not_granted)
|
||||
return
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue