diff --git a/NEWS b/NEWS index 9774cbae40..8608f55797 100644 --- a/NEWS +++ b/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) ------------------- diff --git a/Tools/SOGoToolManageACL.m b/Tools/SOGoToolManageACL.m index 9e29455488..8335110a1f 100644 --- a/Tools/SOGoToolManageACL.m +++ b/Tools/SOGoToolManageACL.m @@ -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],