no exclustion of SAML Users on bulk-alter-group

This commit is contained in:
Manfred Löbling 2020-10-25 20:25:43 +01:00
parent 7277a1bb01
commit 2b5abf72a4

View File

@ -391,7 +391,7 @@ class UserViewSet(ModelViewSet):
if action not in ("add", "remove"):
raise ValidationError({"detail": "The action must be add or remove"})
users = self.bulk_get_users(request, user_ids)
users = self.bulk_get_users(request, user_ids, auth_type=None)
groups = list(Group.objects.filter(pk__in=group_ids))
for user in users: