Monotone-Parent: 8aee58cb522e068aa5eaadc2f96fd18a32e8c998

Monotone-Revision: 5160e85c620293ddb69446e1c7a0f654bf879b2f

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-11-13T17:39:03
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-11-13 17:39:03 +00:00
parent 7e749b87b1
commit 837a641631
2 changed files with 23 additions and 14 deletions
+15 -14
View File
@@ -148,18 +148,20 @@
co = [self clientObject];
componentOwner = [co ownerInContext: nil];
ASSIGN (title, [component summary]);
ASSIGN (location, [component location]);
ASSIGN (comment, [component comment]);
ASSIGN (url, [[component url] absoluteString]);
ASSIGN (privacy, [component accessClass]);
ASSIGN (priority, [component priority]);
ASSIGN (status, [component status]);
ASSIGN (categories, [[component categories] commaSeparatedValues]);
ASSIGN (organizer, [component organizer]);
[self _loadCategories];
[self _loadAttendees];
if (component)
{
ASSIGN (title, [component summary]);
ASSIGN (location, [component location]);
ASSIGN (comment, [component comment]);
ASSIGN (url, [[component url] absoluteString]);
ASSIGN (privacy, [component accessClass]);
ASSIGN (priority, [component priority]);
ASSIGN (status, [component status]);
ASSIGN (categories, [[component categories] commaSeparatedValues]);
ASSIGN (organizer, [component organizer]);
[self _loadCategories];
[self _loadAttendees];
}
}
// /* cycles */
// if ([component isRecurrent])
@@ -336,7 +338,7 @@
SOGoAppointmentFolders *calendarParent;
NSEnumerator *allCalendars;
SoSecurityManager *sm;
NSString *perm, *privacy;
NSString *perm;
if (!calendarList)
{
@@ -344,7 +346,6 @@
if ([[self clientObject] isNew])
perm = SoPerm_AddDocumentsImagesAndFiles;
else {
privacy = [component accessClass];
if ([privacy isEqualToString: @"PRIVATE"])
perm = SOGoCalendarPerm_ModifyPrivateRecords;
else if ([privacy isEqualToString: @"CONFIDENTIAL"])