# فشل استدعاء المستخدمين باستخدام حقل المجموعات عند وجود مستخدم موجود بالفعل في القائمة

**URL:** <https://meta.discourse.org/t/inviting-users-with-groups-field-failed-when-there-is-an-existing-user-in-the-list/109990>\
**Category:** Bug\
**Created:** [25 فبراير 2019، 3:32ص UTC](https://meta.discourse.org/t/inviting-users-with-groups-field-failed-when-there-is-an-existing-user-in-the-list/109990 "2019-02-25T03:32:15Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [15 أبريل 2019، 1:31م UTC](https://meta.discourse.org/t/inviting-users-with-groups-field-failed-when-there-is-an-existing-user-in-the-list/109990/8 "2019-04-15T13:31:32Z")

</div>

> [@gingerman](#):
>
> - This seems to be the piece of code which throws the error when there is an existing user with a given email address already present in the system. This code is same before & after the security fix commit (mentioned by you)

This is a bug. An error is thrown when there is an existing user even before the security fix.

[https://github.com/discourse/discourse/pull/7379](https://github.com/discourse/discourse/pull/7379)

There are two fixes in the PR above.

1. Bulk invite will skip creating the invite and add the user to groups that can be edited.
2. Bulk invite should not be adding users into groups that are not editable which is now down with the guardian safe guard.

---

_[View the full topic](https://meta.discourse.org/t/inviting-users-with-groups-field-failed-when-there-is-an-existing-user-in-the-list/109990)._
