# User can apply staff tag, staff can't remove

**URL:** https://meta.discourse.org/t/user-can-apply-staff-tag-staff-cant-remove/89809
**Category:** Bug
**Created:** [June 13, 2018, 8:09pm UTC](https://meta.discourse.org/t/user-can-apply-staff-tag-staff-cant-remove/89809 "2018-06-13T20:09:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)
#### Post date: [June 13, 2018, 8:09pm UTC](https://meta.discourse.org/t/user-can-apply-staff-tag-staff-cant-remove/89809/1 "2018-06-13T20:09:23Z")

</div>

We noticed the following:

- We set up the tag ‘featured’ as staff only (‘Tags are visible to everyone, but only staff can use them’)
- Somehow, some users manage to still apply this tag - I’m talking to them to find out what they did to make this happen. I believe this is a bug, but it’s not the point of this report.
- Messages with the ‘featured’ tag are caught by the system and require approval (which makes sense).
- When a moderator or staff member goes in and removes the tag, then approves, there’s an error (see video below).

I believe that in the last step, the tag isn’t actually removed - which is what causes the error: if I temporarily make ‘featured’ a public tag again, then go into the approval queue, remove the tag and approve the post, it is saved successfully. However, when I view the post in the topics list, the ‘featured’ tag is still there.

[https://global.discourse-cdn.com/meta/original/3X/7/e/7e95899b77c2581f915565e8da83cb06475e216c.mp4](https://global.discourse-cdn.com/meta/original/3X/7/e/7e95899b77c2581f915565e8da83cb06475e216c.mp4)

---

<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: [June 25, 2018, 10:58am UTC](https://meta.discourse.org/t/user-can-apply-staff-tag-staff-cant-remove/89809/3 "2018-06-25T10:58:57Z")

</div>

Added on my list to verify and fix.

---

<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: [June 26, 2018, 11:42am UTC](https://meta.discourse.org/t/user-can-apply-staff-tag-staff-cant-remove/89809/4 "2018-06-26T11:42:05Z")

</div>

> [@bartv](#):
>
> I believe that in the last step, the tag isn’t actually removed

Yes, I was able to repro this. Staff were not able to remove tags from queued topics, regardless of staff tags or otherwise. Now fixed via:

> <https://github.com/discourse/discourse/commit/7efdccdbc55f4166278fc8ad181ceafc509b0241>

> [@bartv](#):
>
> Somehow, some users manage to still apply this tag

I was not able to repro this locally. Feel free to create a new #Contribute > Bug topic once you have repro steps.

Thanks for reporting this issue! 👍

---

<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: [June 26, 2018, 1:08pm UTC](https://meta.discourse.org/t/user-can-apply-staff-tag-staff-cant-remove/89809/5 "2018-06-26T13:08:36Z")

</div>


