We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df23ed2 commit 8006322Copy full SHA for 8006322
ftp/ftpManager.py
@@ -180,7 +180,9 @@ def submitFTPDelete(self):
180
admin = Administrator.objects.get(pk=userID)
181
ftp = Users.objects.get(user=ftpUserName)
182
183
- if ftp.domain.admin != admin:
+ if ACLManager.checkOwnership(ftp.domain.domain, admin, currentACL) == 1:
184
+ pass
185
+ else:
186
return ACLManager.loadErrorJson()
187
188
FTPUtilities.submitFTPDeletion(ftpUserName)
0 commit comments