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

    • Incident report
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.9.4 (alpha)
    • Frontend (F)
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: