mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-28 06:35:26 +00:00
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:
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user