Monotone-Parent: 2de65de2856914b059bf9e9b6eafc6f4f5a5a4ec

Monotone-Revision: 1cd01a11a7384ec7da33be5a6316e39e3024c38a

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-05-04T15:57:12
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-05-04 15:57:12 +00:00
parent 9787b24a97
commit 6aa121c0f7
2 changed files with 17 additions and 0 deletions
+5
View File
@@ -1,3 +1,8 @@
2007-05-04 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Common/UIxAclEditor.m ([UIxAclEditor -currentUserIsOwner]):
new method with an explicit name.
2007-05-03 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/SOGoCalendarComponent.m
+12
View File
@@ -177,6 +177,18 @@
return [self jsCloseWithRefreshMethod: nil];
}
- (BOOL) currentUserIsOwner
{
SOGoObject *clientObject;
NSString *currentUserLogin, *ownerLogin;
clientObject = [self clientObject];
ownerLogin = [clientObject ownerInContext: context];
currentUserLogin = [[context activeUser] login];
return [ownerLogin isEqualToString: currentUserLogin];
}
// - (id <WOActionResults>) addUserInAcls
// {
// SOGoObject *clientObject;