mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-15 18:38:00 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user