mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Add configuration of user permission for downloading pcap (hidden for the time being)
This commit is contained in:
parent
5b05b06c96
commit
a86aaa61e6
11 changed files with 148 additions and 29 deletions
|
|
@ -1064,6 +1064,7 @@ local known_parameters = {
|
|||
["select_keys_clause"] = validateUnquoted,
|
||||
["select_values_clause"] = validateUnquoted,
|
||||
["approx_search"] = validateBool,
|
||||
|
||||
["where_clause"] = { whereCleanup, validateUnquoted },
|
||||
["where_clause_unck"] = { whereCleanup, validateUnchecked },
|
||||
["begin_time_clause"] = validateUnquoted,
|
||||
|
|
@ -1100,6 +1101,7 @@ local known_parameters = {
|
|||
["confirm_password"] = { passwordCleanup, validatePassword }, -- Confirm user password
|
||||
["user_role"] = validateUserRole, -- User role
|
||||
["user_language"] = validateUserLanguage, -- User language
|
||||
["allow_pcap_download"] = validateEmptyOr(validateBool),
|
||||
|
||||
-- NDPI
|
||||
["application"] = validateApplication, -- An nDPI application protocol name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue