Monotone-Parent: d3b9346b7ff729aa3e123d710cf798285311dc5c
Monotone-Revision: 3d8272cfb7a360effb353f8ed683e96af4d60e6e Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-02-05T14:55:29 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
200225403a
commit
fddeb02e3b
|
@ -51,20 +51,20 @@
|
|||
|
||||
@implementation SOGoUserFolder
|
||||
|
||||
+ (void) initialize
|
||||
{
|
||||
SoClassSecurityInfo *sInfo;
|
||||
NSArray *basicRoles;
|
||||
// + (void) initialize
|
||||
// {
|
||||
// SoClassSecurityInfo *sInfo;
|
||||
// NSArray *basicRoles;
|
||||
|
||||
sInfo = [self soClassSecurityInfo];
|
||||
[sInfo declareObjectProtected: SoPerm_View];
|
||||
// sInfo = [self soClassSecurityInfo];
|
||||
// [sInfo declareObjectProtected: SoPerm_View];
|
||||
|
||||
basicRoles = [NSArray arrayWithObject: SoRole_Authenticated];
|
||||
// basicRoles = [NSArray arrayWithObject: SoRole_Authenticated];
|
||||
|
||||
/* require Authenticated role for View and WebDAV */
|
||||
[sInfo declareRoles: basicRoles asDefaultForPermission: SoPerm_View];
|
||||
[sInfo declareRoles: basicRoles asDefaultForPermission: SoPerm_WebDAVAccess];
|
||||
}
|
||||
// /* require Authenticated role for View and WebDAV */
|
||||
// [sInfo declareRoles: basicRoles asDefaultForPermission: SoPerm_View];
|
||||
// [sInfo declareRoles: basicRoles asDefaultForPermission: SoPerm_WebDAVAccess];
|
||||
// }
|
||||
|
||||
/* accessors */
|
||||
|
||||
|
|
|
@ -75,6 +75,7 @@
|
|||
defaultRoles = {
|
||||
"Access Contents Information" = ( "Authenticated" );
|
||||
"WebDAV Access" = ( "Authenticated" );
|
||||
"View" = ( "Authenticated" );
|
||||
};
|
||||
};
|
||||
SOGoGCSFolder = {
|
||||
|
|
Loading…
Reference in New Issue