mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Reworking capabilities support
This commit is contained in:
parent
8fd7420b69
commit
7da1395b87
16 changed files with 251 additions and 109 deletions
|
|
@ -102,7 +102,7 @@ if(allow_pcap_download ~= nil) then
|
|||
if(tonumber(allow_pcap_download) == 1) then
|
||||
allow_pcap_download_enabled = true;
|
||||
end
|
||||
if(not ntop.changeUserPermission(username, allow_pcap_download_enabled)) then
|
||||
if(not ntop.changePcapDownloadPermission(username, allow_pcap_download_enabled)) then
|
||||
rest_utils.answer(rest_utils.consts.err.edit_user_failed, res)
|
||||
return
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue