motioneye-project / motioneye

A web frontend for the motion daemon.
GNU General Public License v3.0
3.99k stars 655 forks source link

Hide cameras from the "user" account? #2959

Open bbb0 opened 7 months ago

bbb0 commented 7 months ago

Hi,

I would like to use Motioneye with two accounts - the admin account should see all cameras and settings as it is doing now. But the secondary user account now can see all the added cameras. Is there any way to make a flag on certain cameras just to hide them from the viewer account?

It helps me if someone points me to the rendering script, adding another if statement should be feasible... (if !camera.hidden then render)