Monotone-Parent: 2657547ae0e611fd831e211fb69fd2bd09cea1e4
Monotone-Revision: 2595a3bc44656d71f249d0059114c0bb7c6ec938 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-05-16T16:44:29 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
d30e350fa8
commit
537ffcd0f9
|
@ -75,21 +75,21 @@
|
|||
to: (NSCalendarDate *) _endDate
|
||||
{
|
||||
id calFolder;
|
||||
SoSecurityManager *sm;
|
||||
// SoSecurityManager *sm;
|
||||
NSArray *infos;
|
||||
|
||||
calFolder = [container lookupName: @"Calendar" inContext: nil acquire: NO];
|
||||
sm = [SoSecurityManager sharedSecurityManager];
|
||||
if (![sm validatePermission: SOGoPerm_FreeBusyLookup
|
||||
onObject: calFolder
|
||||
inContext: context])
|
||||
// sm = [SoSecurityManager sharedSecurityManager];
|
||||
// if (![sm validatePermission: SOGoPerm_FreeBusyLookup
|
||||
// onObject: calFolder
|
||||
// inContext: context])
|
||||
infos = [calFolder fetchFreeBusyInfosFrom: _startDate
|
||||
to: _endDate];
|
||||
else
|
||||
{
|
||||
infos = [NSArray new];
|
||||
[infos autorelease];
|
||||
}
|
||||
// else
|
||||
// {
|
||||
// infos = [NSArray new];
|
||||
// [infos autorelease];
|
||||
// }
|
||||
|
||||
return infos;
|
||||
}
|
||||
|
|
|
@ -46,11 +46,7 @@
|
|||
};
|
||||
SOGoFreeBusyObject = {
|
||||
superclass = "SOGoContentObject";
|
||||
protectedBy = "View";
|
||||
defaultRoles = {
|
||||
"View" = ( "Authenticated", "FreeBusy" );
|
||||
"WebDAV Access" = ( "Authenticated", "FreeBusy" );
|
||||
};
|
||||
protectedBy = "<public>";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
SOGoFreeBusyObject = {
|
||||
methods = {
|
||||
ajaxRead = {
|
||||
protectedBy = "View";
|
||||
protectedBy = "<public>";
|
||||
pageName = "SOGoUserHomePage";
|
||||
actionName = "readFreeBusy";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue