Monotone-Parent: 7a02739cae6babfe41777a34b6d6949a9385d396

Monotone-Revision: 3af313e92fa3e0c4620aa4faa4a2938d87577661

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-04-22T15:56:51
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-04-22 15:56:51 +00:00
parent 52098ec649
commit e76fd9bd4d
3 changed files with 17 additions and 12 deletions
+6
View File
@@ -687,6 +687,7 @@ NSString *SOGoWeekStartFirstFullWeek = @"FirstFullWeek";
{
NSMutableArray *rolesForObject;
NSArray *sogoRoles;
NSString *rqMethod;
rolesForObject = [NSMutableArray new];
[rolesForObject autorelease];
@@ -708,6 +709,11 @@ NSString *SOGoWeekStartFirstFullWeek = @"FirstFullWeek";
[rolesForObject addObject: SOGoRole_AuthorizedSubscriber];
}
#warning this is a hack to work-around the poor implementation of PROPPATCH in SOPE
rqMethod = [[context request] method];
if ([rqMethod isEqualToString: @"PROPPATCH"])
[rolesForObject addObject: @"PROPPATCHer"];
return rolesForObject;
}