mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-02 21:56:23 +00:00
Monotone-Parent: f3663656115d10ecd6bde3134ecce315d9e7b6f2
Monotone-Revision: f68507cb25828e3c8fa1e14516883fc016c0e607 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-05-30T20:23:28 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
2007-05-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/Common/UIxObjectActions.m ([UIxObjectActions
|
||||
-addUserInAclsAction]): send an acl addition mail.
|
||||
([UIxObjectActions -removeUserFromAclsAction]): send an acl
|
||||
removal mail.
|
||||
|
||||
* UI/Common/UIxFolderActions.m ([UIxFolderActions
|
||||
-_realActionWithFolderName:folderDict]): handle the possible
|
||||
presence of the "mail-invitation" url parameter. If present, the
|
||||
|
||||
@@ -53,6 +53,7 @@
|
||||
clientObject = [self clientObject];
|
||||
[clientObject setRoles: [clientObject aclsForUser: uid]
|
||||
forUser: uid];
|
||||
[clientObject sendACLAdditionAdvisoryToUser: uid];
|
||||
code = 204;
|
||||
}
|
||||
}
|
||||
@@ -70,6 +71,7 @@
|
||||
NSString *uid;
|
||||
unsigned int code;
|
||||
LDAPUserManager *um;
|
||||
SOGoObject *co;
|
||||
|
||||
code = 403;
|
||||
request = [context request];
|
||||
@@ -79,8 +81,9 @@
|
||||
um = [LDAPUserManager sharedUserManager];
|
||||
if ([um contactInfosForUserWithUIDorEmail: uid])
|
||||
{
|
||||
[[self clientObject] removeAclsForUsers:
|
||||
[NSArray arrayWithObject: uid]];
|
||||
co = [self clientObject];
|
||||
[co removeAclsForUsers: [NSArray arrayWithObject: uid]];
|
||||
[co sendACLRemovalAdvisoryToUser: uid];
|
||||
code = 204;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user