change acl permissions to json

This commit is contained in:
Usman Nasir
2021-02-21 13:24:53 +05:00
parent 1a3ba2c656
commit dd03f40968

View File

@@ -651,8 +651,10 @@ imap_folder_list_limit = 0
try:
cursor.execute("UPDATE loginSystem_acl SET config = '%s' where name = 'admin'" % (Upgrade.AdminACL))
except:
pass
except BaseException as msg:
print(str(msg))
import sleep
sleep(10)
try:
cursor.execute("UPDATE loginSystem_acl SET config = '%s' where name = 'reseller'" % (Upgrade.ResellerACL))