Bug Agenturverbund
This commit is contained in:
parent
9d7e4b5a0d
commit
45996ea514
|
|
@ -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'):
|
||||
|
|
|
|||
Loading…
Reference in New Issue