improve "User is disallowed to alter" messages

XMLWordPrintable

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

      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).

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

              Created:
              Updated:
              Resolved: