Skip to content

Commit

Permalink
(fix) made sogo-tool manage-acl work on v2 (fixes #4292)
Browse files Browse the repository at this point in the history
  • Loading branch information
extrafu committed Jan 12, 2018
1 parent 5fbe25e commit 5d3b1b0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
7 changes: 7 additions & 0 deletions NEWS
@@ -1,3 +1,10 @@
2.3.24 (2018-XX-XX)
-------------------

Bug fixes
- sogo-tool manage-acl not working on v2 (#4292)


2.3.23 (2017-10-18)
-------------------

Expand Down
9 changes: 1 addition & 8 deletions Tools/SOGoToolManageACL.m
Expand Up @@ -294,14 +294,7 @@ - (void) addACLForUser: (NSString *) theUser
for (j = 0; j < [rights count]; j++)
{
currentRole = [rights objectAtIndex: j];
if ([GCSFolderManager singleStoreMode])
SQL = [NSString stringWithFormat: @"INSERT INTO %@"
@" (c_object, c_uid, c_role, c_folder_id)"
@" VALUES ('/%@', '%@', '%@', %@)",
[theFolder aclTableName],
path, u, currentRole, [theFolder folderId]];
else
SQL = [NSString stringWithFormat: @"INSERT INTO %@"
SQL = [NSString stringWithFormat: @"INSERT INTO %@"
@" (c_object, c_uid, c_role)"
@" VALUES ('/%@', '%@', '%@')",
[theFolder aclTableName],
Expand Down

0 comments on commit 5d3b1b0

Please sign in to comment.