export events with view right
export events with view right
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.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
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 lineand change canEdit( 'Events' ) to canView( 'Events' ).
Code: Select all
<php><td><a><zmSlangExport></a></td><php>
</pre>
Phil
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact: