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

potentially unused PERM_READ_LIST constant

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • None
    • API (A), Server (S)

      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

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

              Created:
              Updated:
              Resolved: