Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-996

Billing API, inventory API, bill search can't look up permissions

Details

    Description

      The billing API, inventory API and the bill search code still query the obsolete bill_perms and devices_perms tables for permissions, rather than the new entity_permissions table.

      This means the billing API and inventory API will always fail when used by a user with a level less than 10, and the "User" field on the bills page is always empty.

      Attachments

        Activity

          [OBS-996] Billing API, inventory API, bill search can't look up permissions

          Committed in 5804.

          adama Adam Armstrong added a comment - Committed in 5804.
          ajd Andrew Donnellan added a comment - - edited

          This patch fixes the bug, as well as correcting typos in the debug messages

          (Also I accidentally tagged this with poller, which I can't seem to fix - can someone remove the tag?)

          ajd Andrew Donnellan added a comment - - edited This patch fixes the bug, as well as correcting typos in the debug messages (Also I accidentally tagged this with poller, which I can't seem to fix - can someone remove the tag?)

          People

            codekiller Dennis de Houx
            ajd Andrew Donnellan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: