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
User permissions
-
- Posts: 5
- Joined: Wed Jan 11, 2006 9:35 am
- Location: North-Eastern Italy
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
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.
Code: Select all
if ( !canEdit( 'Monitors' ) )
Code: Select all
if ( !canView( 'Control' ) )
Phil
-
- Posts: 5
- Joined: Wed Jan 11, 2006 9:35 am
- Location: North-Eastern Italy
User permission
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" 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
-
- Posts: 5
- Joined: Wed Jan 11, 2006 9:35 am
- Location: North-Eastern Italy
User permissions
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
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
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 5
- Joined: Wed Jan 11, 2006 9:35 am
- Location: North-Eastern Italy
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 5
- Joined: Wed Jan 11, 2006 9:35 am
- Location: North-Eastern Italy
User permissions
Don't worry Phil...