mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-20 10:55:25 +00:00
See Changelog
Monotone-Parent: 691cc1820469e43cdacc1e2ac64920eb170699e9 Monotone-Revision: bf0728b029262258c558ac6fe402eb9d475efdc1 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2010-09-17T18:30:10 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2010-09-17 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/SOGoGCSFolder.m (-renameTo:): don't act as the
|
||||
owner of the folder when user is a superuser.
|
||||
|
||||
2010-09-14 Ludovic Marcotte <lmarcotte@inverse.ca>
|
||||
|
||||
* SoObjects/Appointments/SOGoUserFolder+Appointments.m
|
||||
|
||||
@@ -586,9 +586,9 @@ static NSArray *childRecordFields = nil;
|
||||
displayName = nil;
|
||||
|
||||
activeUser = [context activeUser];
|
||||
if (activeUserIsOwner
|
||||
|| ([activeUser respondsToSelector: @selector (isSuperUser)]
|
||||
&& [activeUser isSuperUser]))
|
||||
if (activeUserIsOwner)
|
||||
// || ([activeUser respondsToSelector: @selector (isSuperUser)]
|
||||
// && [activeUser isSuperUser]))
|
||||
[self _ownerRenameTo: newName];
|
||||
else
|
||||
[self _subscriberRenameTo: newName];
|
||||
|
||||
Reference in New Issue
Block a user