(fix) made sogo-tool manage-acl work on v2 (fixes #4292)

This commit is contained in:
Ludovic Marcotte
2018-01-12 14:11:53 -05:00
parent 5fbe25e0d7
commit 5d3b1b0dc0
2 changed files with 8 additions and 8 deletions
+7
View File
@@ -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)
-------------------
+1 -8
View File
@@ -294,14 +294,7 @@ typedef enum
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],