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

Browser error when user tries to access properties without permissions

    XMLWordPrintable

    Details

    • Team:
      Team B
    • Sprint:
      Sprint 65 (Jun 2020)
    • Story Points:
      0.25

      Description

      1. Create host and web scenario, screen, template and discovery rule for this host
      2. Create user with permission type "User" or "Zabbix Admin", but without permissions for that host
      3. Open browser console
      4. Login with that user and try to reach by direct link:
        1. web scenario details 'httpdetails.php?httptestid=1'
        2. latest data history graphs:  'history.php?action=showgraph&itemids[]=23296'
        3. screens: 'screens.php?elementid=200000'
        4. configuration of host group: hostgroups.php?form=update&groupid=1'
        5. configuration of template: 'templates.php?form=update&templateid=10093'
        6. configuration of discovery rule: 'host_discovery.php?hostid=10084'
          Result: Error in browser console:
      jQuery.Deferred exception: main is null @http://localhost/master/jsLoader.php?ver=5.2.0alpha1&lang=en_GB&showGuiMessaging=1:10944:2
      [email protected]://localhost/master/jsLoader.php?ver=5.2.0alpha1&lang=en_GB&showGuiMessaging=1:3:29375
      a/</c<@http://localhost/master/jsLoader.php?ver=5.2.0alpha1&lang=en_GB&showGuiMessaging=1:3:29677
       undefined
      
      jsLoader.php?ver=5.2.0alpha1&lang=en_GB&showGuiMessaging=1:10944 Uncaught TypeError: Cannot read property 'appendChild' of null
          at HTMLDocument.<anonymous> (jsLoader.php?ver=5.2.0alpha1&lang=en_GB&showGuiMessaging=1:10944)
          at l (jsLoader.php?ver=5.2.0alpha1&lang=en_GB&showGuiMessaging=1:3)
          at c (jsLoader.php?ver=5.2.0alpha1&lang=en_GB&showGuiMessaging=1:3)
      

      For Zabbix Super Admin and Guest user there are no any errors.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kustalovs Kirils Ustalovs (Inactive)
              Reporter:
              larisa.grigorjeva Larisa Grigorjeva
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: