-
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:
|
Expected:
| User type. Possible values: 1 - (default) User; 2 - Admin; 3 - Super admin; 4 - Guest; Property behavior:
|
This is according to:
{ "roleid": "1", "name": "User 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>