Monotone-Parent: e84e98a15cb31552c7707dd925faafe74577f1f4

Monotone-Revision: 59a3a2f8dcdf5c1c777169bb3ffa145eaa47d381

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-04-23T17:55:03
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-04-23 17:55:03 +00:00
parent ee6beb64f8
commit 04cb3e51ba
2 changed files with 13 additions and 5 deletions
+4
View File
@@ -1,5 +1,9 @@
2007-04-23 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/SOGoAppointmentFolder.m
([SOGoAppointmentFolder -groupDavResourceType]): return both
"vevent-collection" and "vtodo-collection".
* UI/Common/UIxUserRightsEditor.[hm]: new template class module
that implements the detailed editor of user rights per-object.
@@ -412,22 +412,26 @@ static NSNumber *sharedYes = nil;
return classes;
}
- (NSString *) groupDavResourceType
- (NSArray *) groupDavResourceType
{
return @"vevent-collection";
return [NSArray arrayWithObjects: @"vevent-collection",
@"vtodo-collection", nil];
}
- (NSArray *) davResourceType
{
static NSArray *colType = nil;
NSArray *gdCol, *cdCol;
NSArray *cdCol;
NSMutableArray *gdCol;
if (!colType)
{
gdCol = [NSMutableArray new];
[gdCol addObjectsFromArray: [self groupDavResourceType]];
[gdCol addObject: XMLNS_GROUPDAV];
cdCol = [NSArray arrayWithObjects: @"calendar", XMLNS_CALDAV, nil];
gdCol = [NSArray arrayWithObjects: [self groupDavResourceType],
XMLNS_GROUPDAV, nil];
colType = [NSArray arrayWithObjects: @"collection", cdCol, gdCol, nil];
[gdCol release];
[colType retain];
}