mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-10 22:15:26 +00:00
Monotone-Parent: f8795baa052d7d5b6da4d6c947c91e65a2da600a
Monotone-Revision: f2cb9755878e29bfc6e50ad7b8c831feae551b34 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-06-04T00:51:47 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -2386,7 +2386,7 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
|
||||
|
||||
[super initializeQuickTablesAclsInContext: localContext];
|
||||
/* We assume "userIsOwner" will be set after calling the super method. */
|
||||
if (!activeUserIsOwner)
|
||||
if (!userCanAccessAllObjects)
|
||||
{
|
||||
login = [[localContext activeUser] login];
|
||||
permStrIndex = [@"Component" length];
|
||||
@@ -2394,7 +2394,7 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
|
||||
|
||||
for (currentClass = 0; currentClass < iCalAccessClassCount; currentClass++)
|
||||
{
|
||||
if (activeUserIsOwner)
|
||||
if (userCanAccessAllObjects)
|
||||
userCanAccessObjectsClassifiedAs[currentClass] = YES;
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user