# User badge reappear even after being revoked by the admin?

**URL:** https://meta.discourse.org/t/user-badge-reappear-even-after-being-revoked-by-the-admin/32570
**Category:** Support
**Created:** [27 Agosto, 2015 04:41 UTC](https://meta.discourse.org/t/user-badge-reappear-even-after-being-revoked-by-the-admin/32570 "2015-08-27T04:41:39Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Mohit\_Gupta](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@Mohit\_Gupta](https://meta.discourse.org/u/Mohit_Gupta)
#### Post date: [27 Agosto, 2015 04:41 UTC](https://meta.discourse.org/t/user-badge-reappear-even-after-being-revoked-by-the-admin/32570/1 "2015-08-27T04:41:39Z")

</div>

After revoking a user’s badges from admin panel the badges are reassigned to that user. Is their any way to stop reassigning of that badge to user when it has been revoked by the admin?

---

<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: [27 Agosto, 2015 06:30 UTC](https://meta.discourse.org/t/user-badge-reappear-even-after-being-revoked-by-the-admin/32570/2 "2015-08-27T06:30:52Z")

</div>

Which badges are you trying to revoke? It won’t work too well if it’s an automatic badge..

---

<div class="post-metadata">

### Author: ![Mohit\_Gupta](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@Mohit\_Gupta](https://meta.discourse.org/u/Mohit_Gupta)
#### Post date: [27 Agosto, 2015 06:52 UTC](https://meta.discourse.org/t/user-badge-reappear-even-after-being-revoked-by-the-admin/32570/3 "2015-08-27T06:52:14Z")

</div>

@riking Is their any any property that I can set to prevent it from happening. I am trying it for badges that can be granted multiple times.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [27 Agosto, 2015 10:01 UTC](https://meta.discourse.org/t/user-badge-reappear-even-after-being-revoked-by-the-admin/32570/4 "2015-08-27T10:01:58Z")

</div>

Badges aren’t event-driven though, right? They’re awarded by scheduled queries. You can see the scheduled job at /sidekiq/scheduler

So if the conditions to award that badge remain true, whether once or multiple times, then revocation will only apply until the query runs again. If you revoke the first instance of a badge which can be awarded multiple times then every instance of the condition which awards the badge will continue to trigger badges to be awarded.

Which badge are you trying to revoke and why?

---

<div class="post-metadata">

### Author: ![Mohit\_Gupta](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@Mohit\_Gupta](https://meta.discourse.org/u/Mohit_Gupta)
#### Post date: [27 Agosto, 2015 10:54 UTC](https://meta.discourse.org/t/user-badge-reappear-even-after-being-revoked-by-the-admin/32570/5 "2015-08-27T10:54:35Z")

</div>

@steve\_pd I was thinking of developing a scenario where a user can get rewarded for a badge that he earns. The process will be very simple to understand in case of multiple badges if I can revoke the badge that it has been cashed in.  
I was thinking of having a column in the badges table that indicates the badge has been revoked by the user and prevent it from regranting.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [27 Agosto, 2015 11:10 UTC](https://meta.discourse.org/t/user-badge-reappear-even-after-being-revoked-by-the-admin/32570/6 "2015-08-27T11:10:57Z")

</div>

We support manually revoked badges just don’t specify a badge query, or have your badge query somehow bypass the badges you revoke if there is some sort of record in the db that denotes why you did it.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2 Noviembre, 2018 13:52 UTC](https://meta.discourse.org/t/user-badge-reappear-even-after-being-revoked-by-the-admin/32570/7 "2018-11-02T13:52:23Z")

</div>



---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [4 Noviembre, 2018 23:53 UTC](https://meta.discourse.org/t/user-badge-reappear-even-after-being-revoked-by-the-admin/32570/8 "2018-11-04T23:53:33Z")

</div>


