mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-25 01:01:53 -04:00
Add Create to canEdit
This commit is contained in:
@@ -911,7 +911,7 @@ class Monitor extends ZM_Object {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return ($u['Monitors'] == 'Edit');
|
||||
return ($u['Monitors'] == 'Edit' || $u['Monitors'] == 'Create');
|
||||
}
|
||||
|
||||
function canView($u=null) {
|
||||
|
||||
Reference in New Issue
Block a user