Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-10230

Create and Import buttons should be disabled in Data collection -> Templates/Hosts/Maintenance for User that has no read-write permissions

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 8.0.0alpha1 (master)
    • Frontend (F)

      Steps to reproduce:
      1. Create User group with read permissions to Templates and Hosts
      2. Create User role with User type = Admin
      3. Create User, add this user to group from step 1 and grant him role from step 2
      4. Login with this User

      5. Try to Create Template/Host
      Template/Host creation fails as User has no access for Template/Host groups

      6. Try to Import Template/Host
      Import template/host fails with error: Import failed. No permissions to referred object or it does not exist!

      7. Try to Create maintenance period
      Creation of maintenance period fails with error: Cannot create maintenance period. At least one host group or host must be selected.

      8. In 7.4 try to use Host Wizard
      Creation fails at 'Create or select a host' step, as User can't select any Host group

      'Create template', 'Create host', 'Import', 'Host Wizard' and 'Create maintenance period' buttons are enabled for User without write permissions to any host groups.

      Suggestion is that these buttons should be disabled like 'Create template group (Only super admins can create groups)' and 'Create host group (Only super admins can create groups)' are, at least until one Template group or Host group is added with read-write permissions.

            zabbix.dev Zabbix Development Team
            jzelezova Julija Zelezova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: