Fix a bug where the calendar will list all events, regardless of permissions.
This commit is contained in:
parent
c8fe4092a2
commit
11368a7cbb
2 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
7.7.5
|
||||
- Adding StoryManager.
|
||||
- fixed #10223: Calendar List View Ignores Event Permissions (dhelsten)
|
||||
|
||||
7.7.4
|
||||
- rfe: Extend DateTime for Week-Nrs (#9151)
|
||||
|
|
|
|||
|
|
@ -1210,7 +1210,8 @@ sub viewList {
|
|||
|
||||
### Build the event vars
|
||||
my $dtLast = $dtStart; # The DateTime of the last event
|
||||
for my $event (@events) {
|
||||
EVENT: for my $event (@events) {
|
||||
next EVENT unless $event && $event->canView();
|
||||
my ( %eventVar, %eventDate )
|
||||
= $self->getEventVars( $event );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue