mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Implement API to update the user scripts configuration
This commit is contained in:
parent
d59bd0e1df
commit
9fd1ced9fd
4 changed files with 91 additions and 2 deletions
|
|
@ -18,6 +18,11 @@ if(action == nil) then
|
|||
return
|
||||
end
|
||||
|
||||
if(not isAdministrator()) then
|
||||
traceError(TRACE_ERROR, TRACE_CONSOLE, "Admin privileges required")
|
||||
return
|
||||
end
|
||||
|
||||
-- ################################################
|
||||
|
||||
local result = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue