mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-29 00:50:33 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user