Monotone-Parent: 093eb3ebcf238b8c813759fda17e22addd7cc0b0

Monotone-Revision: 34dbce3026b164b07c558711781fcfb5cde0fcff

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2008-11-03T14:17:57
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2008-11-03 14:17:57 +00:00
parent 73b30201b5
commit 07225fe588
3 changed files with 17 additions and 1 deletions
+3
View File
@@ -43,6 +43,7 @@
#import <SoObjects/SOGo/SOGoContentObject.h>
#import <SoObjects/Appointments/SOGoAppointmentFolder.h>
#import <SoObjects/Appointments/SOGoAppointmentObject.h>
#import <SoObjects/Appointments/SOGoAppointmentOccurence.h>
#import <SoObjects/Appointments/SOGoComponentOccurence.h>
@@ -270,6 +271,8 @@
{
sm = [SoSecurityManager sharedSecurityManager];
if ([co isKindOfClass: [SOGoAppointmentOccurence class]])
co = [co container];
thisFolder = [co container];
if (componentCalendar != thisFolder)
if (![sm validatePermission: SoPerm_DeleteObjects