8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-12 21:06:27 +00:00

Apply 2 suggestion(s) to 2 file(s)

This commit is contained in:
nanoy 2021-09-05 12:48:05 +00:00 committed by jr-garnier
parent 6091f1c187
commit dc5c44b901
2 changed files with 4 additions and 4 deletions

View file

@ -94,8 +94,8 @@ def sync_ldap():
synchronise_user(sender=User, instance=u)
for lr in ListRight.objects.all():
synchronise_usergroup(sender=ListRight, instance=lr)
for s in ServiceUser.objects.all():
synchronise_serviceuser(sender=ServiceUser, instance=s)
for service_user in ServiceUser.objects.all():
synchronise_serviceuser(sender=ServiceUser, instance=service_user)
class Command(BaseCommand):

View file

@ -42,5 +42,5 @@ class Command(BaseCommand):
synchronise_user(sender=User, instance=user)
for lr in ListRight.objects.all():
synchronise_usergroup(sender=ListRight, instance=lr)
for s in ServiceUser.objects.all():
synchronise_serviceuser(sender=ServiceUser, instance=s)
for service_user in ServiceUser.objects.all():
synchronise_serviceuser(sender=ServiceUser, instance=service_user)