gdpr test coworkers
This commit is contained in:
parent
9b652fa935
commit
0b48db62c1
@ -21,7 +21,8 @@ def gdpr_ask_agreement(request):
|
||||
if not request.user.is_superuser:
|
||||
raise PermissionError()
|
||||
|
||||
for user in User.objects.filter(is_active=True).all():
|
||||
for user in User.objects.filter(username__in=('p207263', 'p233780', 'p253591', 'p269380'),
|
||||
is_active=True).all():
|
||||
token = get_random_string(length=32)
|
||||
pending = PendingGDPRAgree(user=user, token=token)
|
||||
pending.save()
|
||||
|
Loading…
Reference in New Issue
Block a user