mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
check if document is accessible before listing it in the calendar
This commit is contained in:
parent
00bbda39bb
commit
e1390d7178
|
@ -199,6 +199,7 @@ class SeedDMS_View_Calendar extends SeedDMS_Bootstrap_Style {
|
|||
default:
|
||||
$color = '#20a8a8';
|
||||
}
|
||||
if ($item['document']->getAccessMode($user) >= M_READ)
|
||||
$arr[] = array(
|
||||
'start'=>$item['date'],
|
||||
'title'=>$item['document']->getName()."\n".$item['msg'],
|
||||
|
|
Loading…
Reference in New Issue
Block a user