Ad Widget

Collapse

User rights and templates

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jsimonetti
    Junior Member
    • Sep 2006
    • 2

    #1

    User rights and templates

    Hi all,

    Just wanting to get some confirmation on things I'm seeing in zabbix with regard to user rights.


    I'd like to have zabbix admins be able to add hosts and link templates to them and have basically all rights. The only thing I'd like to prevent is said user changing templates.

    So I thought I'd give the user read-only rights to the templates group.
    However this doesn't work. The user needs write access to templates to be able to link them to hosts.

    Personally I'd expect that read-only access would be enough to allow linking a template to a host.

    Am I doing something obviously wrong, cause I don't see it. Thanks in advance.
  • Tristan
    Senior Member
    • Feb 2008
    • 110

    #2
    I have the same problem. Does someone has a solution?

    Comment

    • rosangela
      Junior Member
      • Nov 2010
      • 8

      #3
      I have the same problem too...

      If someone have any solution or sugestion, please, tell us. Thanks

      Comment

      • Tristan
        Senior Member
        • Feb 2008
        • 110

        #4
        i have a solution. Yust give the menu templates only superadmin rights.

        open /include/menu.inc.php


        find:
        array(
        'url'=>'templates.php',
        'label'=>S_TEMPLATES
        ),


        change to:
        array(
        'url'=>'templates.php',
        'user_type'=>USER_TYPE_SUPER_ADMIN,
        'label'=>S_TEMPLATES
        ),

        Comment

        • rosangela
          Junior Member
          • Nov 2010
          • 8

          #5
          Cannot link template when Zabbix Admin has read-only access to templates

          The mentioned problem occurs from Zabbix frontend version 1.8.5 or upper, which requires to Zabbix Admin Read/Write access to the templates group in order to link templates to a new or existing host.
          In Zabbix 1.8.3 it works exactly the way I wanted. The Zabbix Admin needs only ReadOnly access to the templates group and access Read/Write to the hosts groups he wants to.
          Please, could someone fix the new versions of Zabbix?
          Last edited by rosangela; 10-01-2012, 17:52.

          Comment

          Working...