From bc5b3a15ab557e2271ee284bfa9c163b632cef25 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 24 Apr 2007 22:37:21 +0000 Subject: [PATCH] Monotone-Parent: bffd38536f21b982c86617f97c2dff0009e442e1 Monotone-Revision: d50828fc631dc9f6d731dcbde3c7ea33f6c422d9 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-04-24T22:37:21 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ SoObjects/Appointments/SOGoAppointmentFolder.m | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index ca1f54155..59acc4d64 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-04-24 Wolfgang Sourdeau + * SoObjects/Appointments/SOGoAppointmentFolder.m + ([SOGoAppointmentFolder -defaultAclRoles]): new overriden method + that defines default roles for new elements in the acl. + * UI/Scheduler/UIxCalUserRightsEditor.[hm]: new component class module and subclass of UIxUserRightsEditor specific to the handling of user rights on calendar folders. diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index 542cbb51e..1dd53077a 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -1216,4 +1216,13 @@ static NSNumber *sharedYes = nil; return @"IPF.Appointment"; } +/* acls */ +- (NSArray *) defaultAclRoles +{ + return [NSArray arrayWithObjects: + SOGoCalendarRole_PublicViewer, + SOGoCalendarRole_PrivateDAndTViewer, + nil]; +} + @end /* SOGoAppointmentFolder */