# Re-send all pending invitations

**URL:** https://meta.discourse.org/t/re-send-all-pending-invitations/44753
**Category:** Feature
**Created:** [24 במאי,‏ 2016,‏ 8:50pm UTC](https://meta.discourse.org/t/re-send-all-pending-invitations/44753 "2016-05-24T20:50:25Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![rhyolight](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rhyolight/32/120422_2.png) [@rhyolight](https://meta.discourse.org/u/rhyolight)
#### Post date: [24 במאי,‏ 2016,‏ 8:50pm UTC](https://meta.discourse.org/t/re-send-all-pending-invitations/44753/1 "2016-05-24T20:50:25Z")

</div>

I just spent 10 minutes clicking the ![](https://global.discourse-cdn.com/meta/original/3X/6/c/6ce7dd02653a4158f73594bf746bd248134322bd.png) 884 times on the `/invited/pending` page.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [24 במאי,‏ 2016,‏ 8:54pm UTC](https://meta.discourse.org/t/re-send-all-pending-invitations/44753/2 "2016-05-24T20:54:41Z")

</div>

Sure, @techapj can you add to your list a “resend all pending invites” button for this page? Makes sense.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [3 ביוני,‏ 2016,‏ 6:58am UTC](https://meta.discourse.org/t/re-send-all-pending-invitations/44753/3 "2016-06-03T06:58:54Z")

</div>

This feature is now available. ☀

 ![](https://global.discourse-cdn.com/meta/original/3X/e/2/e2311bb35f2c595d99ceca270f0530a74b8e1ccf.png)

“Resend all Invites” button will be visible when there are 5 or more pending invites.

* * *

[https://github.com/discourse/discourse/commit/c4e1ad0953bc8cbd4f2b8950b96e87393746f531](https://github.com/discourse/discourse/commit/c4e1ad0953bc8cbd4f2b8950b96e87393746f531)

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [6 ביוני,‏ 2016,‏ 4:00am UTC](https://meta.discourse.org/t/re-send-all-pending-invitations/44753/4 "2016-06-06T04:00:27Z")

</div>

Does this have appropriate ratelimits (that apply to admins)?

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [7 ביוני,‏ 2016,‏ 5:07am UTC](https://meta.discourse.org/t/re-send-all-pending-invitations/44753/5 "2016-06-07T05:07:03Z")

</div>

It has now 😉

- _Resend all Invites_ limited to 1 per day.
- _Resend Invite_ limited to 10 per hour.

(not applicable on staff)

[https://github.com/discourse/discourse/commit/a9c6df198cbbc0b8f5bf5b7de42e71c2cdf3d150](https://github.com/discourse/discourse/commit/a9c6df198cbbc0b8f5bf5b7de42e71c2cdf3d150)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [7 ביוני,‏ 2016,‏ 5:08am UTC](https://meta.discourse.org/t/re-send-all-pending-invitations/44753/6 "2016-06-07T05:08:44Z")

</div>

Would non staff even ever see this button to resend all invites? I don’t know why it should even be offered to non staff. @riking was proposing rate limits _even for admins_ here so I feel there has been a giant miscommunication…

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [7 ביוני,‏ 2016,‏ 5:34am UTC](https://meta.discourse.org/t/re-send-all-pending-invitations/44753/7 "2016-06-07T05:34:40Z")

</div>

Okay, I made this feature staff only.

Regarding rate limits even for admins, our current `RateLimiter` library makes the rate unlimited for staff users.

> <https://github.com/discourse/discourse/blob/8f4bc2228fd5def7a4190222b0ae993a384791d9/lib/rate_limiter.rb#L97-L99>

Should I amend the library to allow rate limits to be applied on staff users too?
