mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 00:28:22 +00:00
fix: [trackers] blueprint user_role
This commit is contained in:
parent
d8724fa96e
commit
9323ac39e8
1 changed files with 3 additions and 2 deletions
|
@ -69,9 +69,10 @@ def get_default_yara_rule_content():
|
|||
@login_required
|
||||
@login_read_only
|
||||
def trackers_dashboard():
|
||||
user_org = current_user.get_org()
|
||||
user_id = current_user.get_user_id()
|
||||
trackers = Tracker.get_trackers_dashboard()
|
||||
stats = Tracker.get_trackers_stats(current_user.get_org(), user_id)
|
||||
trackers = Tracker.get_trackers_dashboard(user_org, user_id)
|
||||
stats = Tracker.get_trackers_stats(user_org, user_id)
|
||||
return render_template("trackers_dashboard.html", trackers=trackers, stats=stats, bootstrap_label=bootstrap_label)
|
||||
|
||||
@hunters.route("/trackers/all")
|
||||
|
|
Loading…
Reference in a new issue