mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 11:25:24 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user