Propose adding test rights to usergroup. (#10859)

I got an error without the test rights that it couldn't perform a ping. Ping rights in mikrotik are in the test policy.
This commit is contained in:
StephanVinkenborg 2019-10-20 12:17:43 +02:00 committed by Franck Nijhof
parent c270342dde
commit 4f0f3e289e

View File

@ -112,10 +112,10 @@ If everything is working fine you can disable the pure `api` service in RouterOS
## The user privileges in RouterOS
To use this device tracker you need restricted privileges only. To enhance the security of your MikroTik device create a "read only" user who is able to connect to API only:
To use this device tracker you need restricted privileges only. To enhance the security of your MikroTik device create a "read only" user who is able to connect to API and perform ping test only:
```bash
/user group add name=homeassistant policy=read,api,!local,!telnet,!ssh,!ftp,!reboot,!write,!policy,!test,!winbox,!password,!web,!sniff,!sensitive,!romon,!dude,!tikapp
/user group add name=homeassistant policy=read,api,!local,!telnet,!ssh,!ftp,!reboot,!write,!policy,test,!winbox,!password,!web,!sniff,!sensitive,!romon,!dude,!tikapp
/user add group=homeassistant name=homeassistant
/user set password="YOUR_PASSWORD" homeassistant
```