Page 1 of 1

user with low privilages cannot login via zmNinja?

Posted: Fri Jun 10, 2016 4:41 pm
by linforpros
Is this by design that if a user has minimal previleges in zoneminder he cannot use zmNinja?
zmview_previleges_zmNinja.png
zmview_previleges_zmNinja.png (3.77 KiB) Viewed 2542 times
In the above case only 'STREAM' and 'EVENTS' are allowed for user zmview.
If you try to login via zmNinja with its credentials it will fail with error.

Thanks for any hints

Re: user with low privilages cannot login via zmNinja?

Posted: Fri Jun 10, 2016 10:38 pm
by asker
This is more a function of ZM APIs. Which version of ZM are you using and what is the exact debug log error from zmNinja?

Note that you need to assign monitor view rights as well, otherwise the APIs won't be able to retrieve monitor status.
Here is a limited user that works with zmNinja. Make sure you are on 1.29 (or later) of ZM