Can't De-select Restricted Monitors from users

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
wayneoutthere
Posts: 2
Joined: Mon Mar 13, 2023 3:12 pm

Can't De-select Restricted Monitors from users

Post by wayneoutthere »

Hello
I'm new (again) to Zone Minder after taking a solid 10 year gap. First of all, amazing progress and awesome to see it's still awesome.
I was surprised, however, to encounter one specific bug which suddenly required use of both mysql and terminal understanding.
First, the issue is documented viewtopic.php?t=15236 in a locked thread with the most recent thread being Feb 2022. Not sure why the thread got locked if the issue is live...

Also the last comments from February were correct that the spelling of the commands were slightly wrong and should have been:

Code: Select all

sudo mysql zm
UPDATE Users SET MonitorIds="" WHERE Username="admin";
exit
Once I executed this command all my restricted monitors were again de-selected for the users I applied this to.

A clear and working 'de-select' feature should be applied immediately to the GUI for this one so that average admins do not have to mess with mysql for something like this.

I tested this in both Firefox and Chrome and it seems to be a real bug in both.

I hope this helps and if there is a git page I'm happy to log it there?

Thanks again for a great project!
Post Reply