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

improve "User is disallowed to alter" messages

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.4 (alpha)
    • Component/s: Frontend (F)
    • Labels:
      None

      Description

      some messages are very clumsy & should be improved :

      ./api/classes/class.cuser.php: self::exception(ZBX_API_ERROR_PARAMETERS, _s('User is disallowed to alter GUI access to him self by linking to user group "%s".', $group['name']));
      ./api/classes/class.cuser.php: self::exception(ZBX_API_ERROR_PARAMETERS, _s('User is disallowed to alter system status to him self by linking to user group "%s".', $group['name']));

      ---------------
      suggestions :
      "User may not modify <GUI access|system status> for himself by becoming a member of user group "%s".', $group['name']."

      general style improvements, avoid "linking" when talking about group membership (that's reserved for templates).

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: