Skip to content

Commit

Permalink
Don't expose Web calendars to other users
Browse files Browse the repository at this point in the history
Fixes #4331
  • Loading branch information
cgx committed Nov 16, 2017
1 parent 80886af commit 3c30997
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS
Expand Up @@ -19,6 +19,7 @@ Bug fixes
- [core] increased column size of settings/defaults for MySQL (#4260)
- [core] fixed yearly recurrence calculator with until date
- [core] generalized HTML sanitization to avoid encoding issues when replying/forwarding mails
- [core] don't expose web calendars to other users (#4331)
- [web] fixed display of error when the mail editor is in a popup
- [web] attachments are not displayed on IOS (#4150)
- [web] fixed parsing of pasted email addresses from Spreadsheet (#4258)
Expand Down
3 changes: 2 additions & 1 deletion SoObjects/Appointments/SOGoAppointmentFolders.m
Expand Up @@ -650,7 +650,8 @@ - (NSException *) fetchSpecialFolders: (NSString *) sql
for (count = 0; count < max; count++)
{
folder = [folders objectAtIndex: count];
if ([folder folderPropertyValueInCategory: @"WebCalendars"])
if ([folder folderPropertyValueInCategory: @"WebCalendars"
forUser: [SOGoUser userWithLogin: owner]])
{
name = [folder nameInContainer];
if (isWebRequest)
Expand Down

0 comments on commit 3c30997

Please sign in to comment.