diff --git a/SoObjects/Appointments/SOGoFreeBusyObject.m b/SoObjects/Appointments/SOGoFreeBusyObject.m index c0032c747..2d8cf7db9 100644 --- a/SoObjects/Appointments/SOGoFreeBusyObject.m +++ b/SoObjects/Appointments/SOGoFreeBusyObject.m @@ -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; } diff --git a/SoObjects/Appointments/product.plist b/SoObjects/Appointments/product.plist index 91f693d4a..ff9831d06 100644 --- a/SoObjects/Appointments/product.plist +++ b/SoObjects/Appointments/product.plist @@ -46,11 +46,7 @@ }; SOGoFreeBusyObject = { superclass = "SOGoContentObject"; - protectedBy = "View"; - defaultRoles = { - "View" = ( "Authenticated", "FreeBusy" ); - "WebDAV Access" = ( "Authenticated", "FreeBusy" ); - }; + protectedBy = ""; }; }; } diff --git a/UI/MainUI/product.plist b/UI/MainUI/product.plist index 44b3503d1..2ce04921d 100644 --- a/UI/MainUI/product.plist +++ b/UI/MainUI/product.plist @@ -74,7 +74,7 @@ SOGoFreeBusyObject = { methods = { ajaxRead = { - protectedBy = "View"; + protectedBy = ""; pageName = "SOGoUserHomePage"; actionName = "readFreeBusy"; };