From fddeb02e3b45c9ba1fc999fcba3010d5e4e34576 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 5 Feb 2008 14:55:29 +0000 Subject: [PATCH] Monotone-Parent: d3b9346b7ff729aa3e123d710cf798285311dc5c Monotone-Revision: 3d8272cfb7a360effb353f8ed683e96af4d60e6e Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-02-05T14:55:29 Monotone-Branch: ca.inverse.sogo --- SoObjects/SOGo/SOGoUserFolder.m | 22 +++++++++++----------- UI/MainUI/product.plist | 1 + 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/SoObjects/SOGo/SOGoUserFolder.m b/SoObjects/SOGo/SOGoUserFolder.m index b034c311f..d8a475dbb 100644 --- a/SoObjects/SOGo/SOGoUserFolder.m +++ b/SoObjects/SOGo/SOGoUserFolder.m @@ -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 */ diff --git a/UI/MainUI/product.plist b/UI/MainUI/product.plist index af40eccd7..952e54742 100644 --- a/UI/MainUI/product.plist +++ b/UI/MainUI/product.plist @@ -75,6 +75,7 @@ defaultRoles = { "Access Contents Information" = ( "Authenticated" ); "WebDAV Access" = ( "Authenticated" ); + "View" = ( "Authenticated" ); }; }; SOGoGCSFolder = {