Please add usergroup roleid = 4 (guest) to Role API docs

XMLWordPrintable

    • Type: Documentation task
    • Resolution: Declined
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: Documentation (D)
    • None

      Steps to reproduce:

      https://www.zabbix.com/documentation/current/en/manual/api/reference/role/object#role

      Result:

      Currently the roleid's documented on the frontend are:

        User type.
       
      Possible values:
      1 - (default) User;
      2 - Admin;
      3 - Super admin.
       
       
       
      Property behavior:
      • required for create operations

      Expected:

        User type.
       
      Possible values:
      1 - (default) User;
      2 - Admin;
      3 - Super admin;
      4 - Guest;
       
      Property behavior:
      • required for create operations

       

      This is according to:

      {       "roleid": "1",       "name": "User role",       "type": "1",       "readonly": "0"     }

      ,
         

      {       "roleid": "2",       "name": "Admin role",       "type": "2",       "readonly": "0"     }

      ,
         

      {       "roleid": "3",       "name": "Super admin role",       "type": "3",       "readonly": "1"     }

      ,
         

      {       "roleid": "4",       "name": "Guest role",       "type": "1",       "readonly": "0"     }

       

      as well as:

      mysql> select * from role limit 10;
      ------{}--------------{}+{}--{}{}--------

      roleid name             type readonly

      ------{}--------------{}+{}--{}{}--------

           1 User role            1        0
           2 Admin role          2        0
           3 Super admin role    3        1
           4 Guest role          1        0

      ------{}--------------{}+{}--{}{}--------
      4 rows in set (0.00 sec)

      mysql>

            Assignee:
            Ilja Fedotjevs
            Reporter:
            Ivan Shires
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: