Page 1 of 1

export events with view right

Posted: Mon Dec 03, 2007 11:06 am
by hrabe
I think, that user may export events with view right, but now user need right edit for this. Any idea for to do this? Thanks.

Posted: Thu Dec 06, 2007 4:54 pm
by zoneminder
You are correct. The link to show 'export' requires edit rights though the file itself only requires view rights. To change it edit zm_html_view_event.php and find the line

Code: Select all

<php><td><a><zmSlangExport></a></td><php>
</pre>
and change canEdit( 'Events' ) to canView( 'Events' ).

Posted: Thu Dec 06, 2007 4:55 pm
by zoneminder
Ooops, that got mangled in the posting. If you search for zmSlangExport though you should find it.