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

potentially unused PERM_READ_LIST constant

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: API (A), Server (S)
    • Labels:

      Description

      code refers to permission PERM_READ_LIST, which doesn't seem to be used actually.

      dm removal branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-1343 only lists :

      ./include/common.h: PERM_READ_LIST,
      ./src/libs/zbxcommon/str.c: case PERM_READ_LIST:
      ./frontends/php/include/perm.inc.php: if ($perm == PERM_READ_LIST) {
      ./frontends/php/include/defines.inc.php:define('PERM_READ_LIST', 1);

      frontend matches it to read only right away, server maps it to "rl" that i dont know what it does
      there doesn't seem to be code in frontend to actually set it at all.

      upgrade patch potentially should change 1 to 2 in the 'rights' table

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              richlv richlv
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: