From e1390d717895f5352f8085659cb12c1072367a83 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 14 Jun 2018 17:17:06 +0200 Subject: [PATCH] check if document is accessible before listing it in the calendar --- views/bootstrap/class.Calendar.php | 1 + 1 file changed, 1 insertion(+) diff --git a/views/bootstrap/class.Calendar.php b/views/bootstrap/class.Calendar.php index 0d19dff85..0b9ca0bee 100644 --- a/views/bootstrap/class.Calendar.php +++ b/views/bootstrap/class.Calendar.php @@ -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'],