# Moderatoren können Umfragen in Beiträgen nicht entfernen

**URL:** <https://meta.discourse.org/t/moderators-cannot-remove-polls-from-posts/81804>\
**Category:** Bug\
**Created:** [28. Februar 2018 um 17:41 UTC](https://meta.discourse.org/t/moderators-cannot-remove-polls-from-posts/81804 "2018-02-28T17:41:03Z")\
**Posts on this page:** 1\
**Showing post:** 8

<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:** [6. März 2018 um 23:21 UTC](https://meta.discourse.org/t/moderators-cannot-remove-polls-from-posts/81804/8 "2018-03-06T23:21:32Z")

</div>

@tgxworld looking at the git blame here, it looks like you authored most of the security checks there.

I can also see: `if User.staff.pluck(:id).include?(post.last_editor_id)` which we probably want to change to `if User.staff.where(id: post.last_editor_id).exists?` or something 🙂

I can see that staff are denied option changes after edit window, but should they also be denied complete poll removal?

---

_[View the full topic](https://meta.discourse.org/t/moderators-cannot-remove-polls-from-posts/81804)._
