Bug Agenturverbund

This commit is contained in:
holger.trampe 2020-10-29 13:24:59 +01:00
parent 9d7e4b5a0d
commit 45996ea514
1 changed files with 1 additions and 1 deletions

View File

@ -737,7 +737,7 @@ def CopyStandard(request, pk):
new_standard.addedfiles.add(tempdatafile)
# Sende Info, dass ein Standard übernommen wurde, an die Erstelleragentur
usersofagency = Users.objects.filter(profile__agency=sc.agency)
usersofagency = User.objects.filter(profile__agency=sc.agency)
for u in usersofagency:
if u.has_perm('users.standardmanager') and u.has_perm('users.agencynetwork'):