mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-21 23:12:40 +00:00
See ChangeLog
Monotone-Parent: 9b0e70cef01c0afdbc1684211507c86871122671 Monotone-Revision: 62fdfc357dc0083e5a5dfdb61396923e593cac82 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2011-04-28T13:36:29 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
0da18c4bf2
commit
8f81f2b0db
6 files changed
+49
-3
No files matched your search
@@ -159,7 +159,12 @@ static SoSecurityManager *sm = nil;
|
||||
SOGoGCSFolder *folder;
|
||||
|
||||
roles = [[context activeUser] rolesForObject: self inContext: context];
|
||||
if ([roles containsObject: SoRole_Owner])
|
||||
|
||||
// We autocreate the calendars if the user is the owner, a superuser or
|
||||
// if it's a resource as we won't necessarily want to login as a resource
|
||||
// in order to create its database tables.
|
||||
if ([roles containsObject: SoRole_Owner] ||
|
||||
[[context activeUser] isResource])
|
||||
{
|
||||
folder = [subFolderClass objectWithName: @"personal" inContainer: self];
|
||||
[folder setDisplayName: [self defaultFolderName]];
|
||||
|
||||
Reference in new issue
Block a user