update custom acl config if any

This commit is contained in:
Usman Nasir
2021-02-21 14:04:11 +05:00
parent 629c046f0b
commit 722bd8c8ae

View File

@@ -2317,7 +2317,8 @@ vmail
command = 'chmod 600 %s' % (cronPath)
Upgrade.executioner(command, 0)
def UpdateConfigOfCustomACL(self):
@staticmethod
def UpdateConfigOfCustomACL():
from loginSystem.models import ACL
for acl in ACL.objects.all():
if acl.name == 'admin' or acl.name == 'reseller' or acl.name == 'user':