mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-16 12:32:05 +01:00
change acl permissions to json
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user