See Changelog

Monotone-Parent: d3787adfd45555cf1464e5cc2b35120c2f9b764a
Monotone-Revision: b8fdd2b522b773a7377d9617f8dce71cb94ce7db

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2010-09-17T20:37:20
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2010-09-17 20:37:20 +00:00
parent 26de71bac2
commit 1e2579a664
2 changed files with 5 additions and 2 deletions

View File

@@ -2,6 +2,10 @@
* SoObjects/SOGo/SOGoGCSFolder.m (-renameTo:): don't act as the
owner of the folder when user is a superuser.
(-_realAclsForUser:forObjectAtPath:): don't ignore "None" access
right in order to avoid rollbacking to default roles for the
calendar module (SOGoCalendarDefaultRoles) when the user has
specifically no rights.
2010-09-14 Ludovic Marcotte <lmarcotte@inverse.ca>

View File

@@ -1490,8 +1490,7 @@ static NSArray *childRecordFields = nil;
if (!acls)
{
acls = [self _fetchAclsForUser: uid forObjectAtPath: objectPath];
if (!acls
|| ([acls count] == 1 && [acls containsObject: SOGoRole_None]))
if (!acls)
acls = [NSArray array];
[self _cacheRoles: acls forUser: uid forObjectAtPath: objectPath];
}