mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-11-30 20:26:05 -05:00
Event::canView() and canEdit() compared the user's own Events field, so a
user whose own Events was None but whose role granted Events=View or Edit
could not view or edit any event, while the global canView('Events') and
canEdit('Events') let them through to the page. Use ZM\User::canView() and
canEdit(), which read the role as well. The monitor check is unchanged.
refs #5189
Modern ZoneMinder Skin
This web frontend to ZoneMinder is a complete rewrite of the classic frontend, based on CakePHP.