Merge pull request #5655 from ManniLoe/fix-saml-bulk
no exclustion of SAML Users on bulk-alter-group
This commit is contained in:
commit
961a2da888
@ -391,7 +391,7 @@ class UserViewSet(ModelViewSet):
|
|||||||
if action not in ("add", "remove"):
|
if action not in ("add", "remove"):
|
||||||
raise ValidationError({"detail": "The action must be add or 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))
|
groups = list(Group.objects.filter(pk__in=group_ids))
|
||||||
|
|
||||||
for user in users:
|
for user in users:
|
||||||
|
Loading…
Reference in New Issue
Block a user