1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #5066: Update view_reportresult to view_report permission

This commit is contained in:
Jeremy Stretch
2020-09-23 13:40:15 -04:00
parent 90dbe9bf60
commit 0a40418614
5 changed files with 10 additions and 8 deletions

View File

@@ -25,7 +25,7 @@ class Command(BaseCommand):
for report in report_list:
if module_name in options['reports'] or report.full_name in options['reports']:
# Run the report and create a new ReportResult
# Run the report and create a new JobResult
self.stdout.write(
"[{:%H:%M:%S}] Running {}...".format(timezone.now(), report.full_name)
)