Hi,
I'm creating user to access Zabbix via the API. The user needs to be fairly limited in what it can do - I have that all working OK using a combination of user roles and user groups.
I need the user to be able to change its password via the API. The obvious way to do this seems to be to grant access to "user.update" via the "API methods Allow list" in the role. That works - the user can call "user.update" with their current password and set a new password.
The problem is that they can also change "usrgrps", allowing them to escalate privileges (by adding themselves to other user groups).
Am I missing something? Is there some other way to allow a use to change only their password via the API?
Thanks,
Barney
I'm creating user to access Zabbix via the API. The user needs to be fairly limited in what it can do - I have that all working OK using a combination of user roles and user groups.
I need the user to be able to change its password via the API. The obvious way to do this seems to be to grant access to "user.update" via the "API methods Allow list" in the role. That works - the user can call "user.update" with their current password and set a new password.
The problem is that they can also change "usrgrps", allowing them to escalate privileges (by adding themselves to other user groups).
Am I missing something? Is there some other way to allow a use to change only their password via the API?
Thanks,
Barney
It does look a bit weird... but at least they cannot update their type .. :P
Comment