From be8dddf0842e26c9b4cd672d0e42ea78b18af044 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Sun, 21 Feb 2021 13:12:07 +0500 Subject: [PATCH] change acl permissions to json --- plogical/upgrade.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 8d2a8256c..c97d7f6cd 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -650,17 +650,17 @@ imap_folder_list_limit = 0 pass try: - cursor.execute("UPDATE loginSystem_administrator SET config = '%s' where userName = 'admin'" % (Upgrade.AdminACL)) + cursor.execute("UPDATE loginSystem_acl SET config = '%s' where userName = 'admin'" % (Upgrade.AdminACL)) except: pass try: - cursor.execute("UPDATE loginSystem_administrator SET config = '%s' where userName = 'reseller'" % (Upgrade.ResellerACL)) + cursor.execute("UPDATE loginSystem_acl SET config = '%s' where userName = 'reseller'" % (Upgrade.ResellerACL)) except: pass try: - cursor.execute("UPDATE loginSystem_administrator SET config = '%s' where userName = 'user'" % (Upgrade.UserACL)) + cursor.execute("UPDATE loginSystem_acl SET config = '%s' where userName = 'user'" % (Upgrade.UserACL)) except: pass