Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-19292

Scheduled PDF report for users without permissions to the dashboard or disabled users

XMLWordPrintable

    • Sprint 75 (Apr 2021), Sprint 76 (May 2021), Sprint 77 (Jun 2021), Sprint 78 (Jul 2021), Sprint 79 (Aug 2021), Sprint 80 (Sep 2021), Sprint 81 (Oct 2021), Sprint 82 (Nov 2021), Sprint 83 (Dec 2021), Sprint 84 (Jan 2022), Sprint 85 (Feb 2022)

      Steps to reproduce:

      1. Create user with admin role (add valid email media)
      2. Create dashboard as super admin
      3. Keep dashboard sharing type as private
      4. Create report for this dashboard
      5. Add admin to subscriptions
      6. Select "Generate report by" as Recipient for admin
      7. Set start time in 2 min
      8. Check pdf report

      Result:
      pdf report was received but with ерtу message "No permissions to referred object or it does not exist!" in dashboard
      Expected:
      The user doesn't receive a pdf report.
      The frontend give a 403 status to the server when there is no permissions to the dashboard. Error message should be visible somewhere: server/web-service log and/or on reports page in info column

      The similar scenario when user:

      • in "Disabled" group
      • user group is disabled
      • Frontend access disabled for user group

      dashboard should be public and user receive empty pdf report.

            zabbix.dev Zabbix Development Team
            natalja.zabbix Natalja Romancaka
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: