change acl permissions to json

This commit is contained in:
Usman Nasir
2021-02-21 13:12:07 +05:00
parent dcc85d8c08
commit be8dddf084

View File

@@ -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