Monotone-Parent: afc4594b09285c6c59dbdd9ba466cdfe352a1366

Monotone-Revision: 68829b8813dea7e8e29d7bf891b487ac57d66bbe

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-09-06T22:12:42
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-09-06 22:12:42 +00:00
parent 61dbf51914
commit b5959d9677
2 changed files with 20 additions and 0 deletions
+4
View File
@@ -1,5 +1,9 @@
2007-09-06 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoUserFolder.m ([SOGoUserFolder +initialize]):
moved the requirement of authentication from the SOGo application
class to here.
* SoObjects/Appointments/SOGoAppointmentObject.m
([SOGoAppointmentObject -saveContentString:_iCalbaseSequence:_v]):
check whether the new appointment object is still relevant before
+16
View File
@@ -23,6 +23,7 @@
#import <Foundation/NSString.h>
#import <NGObjWeb/NSException+HTTP.h>
#import <NGObjWeb/SoClassSecurityInfo.h>
#import <NGExtensions/NSObject+Logs.h>
#import <Appointments/SOGoAppointmentFolder.h>
@@ -37,6 +38,21 @@
@implementation SOGoUserFolder
+ (void) initialize
{
SoClassSecurityInfo *sInfo;
NSArray *basicRoles;
sInfo = [self soClassSecurityInfo];
[sInfo declareObjectProtected: SoPerm_View];
basicRoles = [NSArray arrayWithObject: SoRole_Authenticated];
/* require Authenticated role for View and WebDAV */
[sInfo declareRoles: basicRoles asDefaultForPermission: SoPerm_View];
[sInfo declareRoles: basicRoles asDefaultForPermission: SoPerm_WebDAVAccess];
}
/* accessors */
- (NSString *) login