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

Different and misleading messages when copying objects to destination with no write permissions

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 4.2.0beta1, 4.2.0beta2
    • Frontend (F)

      In a very rare case when superadmin suddenly changes regular admins rights and the admin was copying an object like item, trigger or graph in that time, user might get misleading and strange error and success messages depending on what object was copied, to what destination and how the permissions to that destination have changed. Even if nothing was copied and target permissions are "Deny", we can have a success message.

      Let's say that we're copying items and during the copy process superadmin strips the user of his rights and changes the targets' permission from "Read-write" to "Deny" or "None". The message is saying that the item was successfully copied. Although it wasn't and nothing was done. However, when the target has "Read" permissions, there is a proper "no permissions" error message and the form is visible. Same thing happens with triggers. But with graphs there are more strange things. If we would select the destination "Host groups" and suddenly permissions change from "Read-write" to "Read", "Deny" or "None", it displays the "no permissions" error, but blocks the page afterwards. The form is not visible. In case the destination is "Hosts" and we have "Read" permissions at that moment, then it displays a success message.

      These messages are misleading and highly inconsistent for all three objects - items, triggers and graphs and also inconsistent with the destination we chose "Host groups", "Hosts" or "Templates".

            zabbix.dev Zabbix Development Team
            iivs Ivo Kurzemnieks
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: