mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 03:45:26 +00:00
Added check on nedge for historical flows
This commit is contained in:
parent
b1090ca4ae
commit
ee0bd5888d
1 changed files with 2 additions and 2 deletions
|
|
@ -307,8 +307,8 @@ else
|
|||
url = "/lua/flows_stats.lua"
|
||||
}, {
|
||||
entry = page_utils.menu_entries.db_explorer,
|
||||
hidden = (not ntop.isEnterprise()) or (not is_clickhouse_enabled) or ifs.isViewed or
|
||||
not auth.has_capability(auth.capabilities.historical_flows) or
|
||||
hidden = (not ntop.isEnterprise() and not ntop.isnEdgeEnterprise())
|
||||
or not auth.has_capability(auth.capabilities.historical_flows) or ifs.isViewed or
|
||||
ifs['type'] == 'db',
|
||||
url = "/lua/pro/db_search.lua"
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue