Monotone-Parent: d8bc80bdd59d6e91fe82607634aa33721dc30547

Monotone-Revision: 3ee2b9df21dfbd9651c3343306430a58bf682596

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-02-05T21:59:26
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-02-05 21:59:26 +00:00
parent 4fb337b916
commit 87cd634a8d
2 changed files with 10 additions and 0 deletions

View File

@@ -1,3 +1,11 @@
2007-02-05 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/SOGoAppointmentObject.m
([SOGoAppointmentObject -roleOfUser:logininContext:context]): if a
user is not an organizer nor a participant, he is declared as
"Owner" if he owns the calendar the entry where the entry is
contained. Other cases should not be possible.
2007-02-02 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Contacts/UIxContactEditor.m: display and handle the new

View File

@@ -550,6 +550,8 @@
role = @"Organizer";
else if ([event isParticipant: email])
role = @"Participant";
else if ([[[self container] ownerInContext: nil] isEqualToString: login])
role = @"SoRole_Owner";
else
role = nil;