Page 1 of 1
User permissions
Posted: Thu Jan 12, 2006 10:52 am
by oldmaga2005
Hi all,
I'm using a 1.22.0 version on a Mandriva 2006 installation, using 5 axis ip cameras (1 ptz).
Up to now the system seems to work quite properly, very good stuff.
My question is regarding something i was not able to do even with the previous 1.21.4 rpm version: i need to give to a normal user ptz control permissions, but whithout camera setting access. For sure i'm missing some important point, but setting "control"option to "modify" seems not to work.
To have the ptz control window enabled i need to set "monitors" option to "edit" also. This way users can access camera settings also, and this is bad.
What am i missing?
Best regards, Maga
Posted: Thu Jan 12, 2006 5:02 pm
by zoneminder
Hmm, can you try editing zm_html_view_controlpanel.php and zm_html_view_controlmenu.php and changing the line
to
and seeing if that works. For a user to be able to control cameras you should only need to give them View permissions on Control, the Edit permission allows them to modify the various camera control definitions.
User permission
Posted: Sat Jan 14, 2006 4:12 pm
by oldmaga2005
Tank you for your suggestion, but, sadly, it didn' t solved my little problem.
"User" can move ptz by clicking on the displayed image, but only Pan and Tilt is allowed this way.
I would like to allow access to the more precise (and more complete) "arrows" interface, including the possibility to zoom and to use preset positions. Up to now when i click on "control" link inside pts window, simply nothing appear.
I miss this feature a lot, as the system will be used by a number of "not so experienced operators", and i fear they will be not able use my ptz properly (can you imagine if they gain access on settings also.. brrrrr....).
As i see, you really seem to be very busy, so i will try to investigate a little bit more by myself, but if you have any other idea, it will be a great help.
Bye, Maga
User permissions
Posted: Sun Jan 15, 2006 3:26 pm
by oldmaga2005
Hi Phil,
digging a little i found that my last post was incorrect.
Though your suggestion did not solved the problem, system behaviour was lightly modified
This is the new situation:
Before changes to zm_html_view_controlpanel.php and zm_html_view_controlmenu.php:
CONTROL MONITORS
view edit = User has access to all controls (too much)
view view = ptz control windows (arrows) not displayed (only live image)
After changes to zm_html_view_controlpanel.php and zm_html_view_controlmenu.php:
CONTROLMONITORS
view edit = ZoneMinder error: "You do not have permission to acces this resource....."
view view = ptz control windows (arrows) not displayed (only live image)
Hope this post is more clear than previous...
Regards, Maga
Posted: Sun Jan 15, 2006 7:27 pm
by zoneminder
I think this should be cracked in rc4 which is up now. Have a go and let me know. I'm just putting the rc4 notes up now.
Posted: Mon Jan 16, 2006 10:39 pm
by oldmaga2005
GREAT WORK!!!
Rc4 version works wery well and solved the problem exactly the way i was looking for.
Now i can proceed with my project: it will be great!
Thank you for your fast replay, and again congratulations for your work.
Bye, Maga
Posted: Mon Jan 16, 2006 11:27 pm
by zoneminder
No problem. Don't forget, if you like the product and the service you can always show your appreciation by donating
User permissions
Posted: Tue Jan 17, 2006 2:19 pm
by oldmaga2005
Don't worry Phil...