# 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:** 10

<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:** [8. März 2018 um 08:53 UTC](https://meta.discourse.org/t/moderators-cannot-remove-polls-from-posts/81804/10 "2018-03-08T08:53:48Z")

</div>

> [@sam](#):
>
> looking at the git blame here, it looks like you authored most of the security checks there.

haha this is because all the code [used to be in `plugin.rb`](https://github.com/discourse/discourse/commit/a849fae5ee86470600c161787e1e7f336b784ca9#diff-a5be6631e5f8a22fc8b6cd7b6a3ac1cd) and I re-organized the code into individual files during a refactor so every line is going to point at me XD

> [@jomaxro](#):
>
> Ensure that staff are not affected by the poll edit window mins site setting.

Fixed in

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

> [@jomaxro](#):
>
> Ensure that poll edit window mins only applies to edits, so regular users can remove polls even after the poll edit window.

I’m not sure about this because we had specific guards in place to prevent this. It has been 2 years since the guards were added but maybe @zogstrip would remember why we did so?

---

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