user with low privilages cannot login via zmNinja?

Discussion topics related to mobile applications and ZoneMinder Event Server (including machine learning)
Post Reply
linforpros
Posts: 39
Joined: Fri Jan 29, 2016 6:12 pm

user with low privilages cannot login via zmNinja?

Post 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 2346 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
best regards
LinforPros
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: user with low privilages cannot login via zmNinja?

Post 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
Attachments
Screen Shot 2016-06-12 at 9.40.07 AM.png
Screen Shot 2016-06-12 at 9.40.07 AM.png (59.12 KiB) Viewed 2305 times
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Post Reply