# Discourse poll - update

**URL:** https://meta.discourse.org/t/discourse-poll-update/75355
**Category:** Feature
**Tags:** polls, completed
**Created:** [4 december 2017 om 17:03 UTC](https://meta.discourse.org/t/discourse-poll-update/75355 "2017-12-04T17:03:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [4 december 2017 om 17:03 UTC](https://meta.discourse.org/t/discourse-poll-update/75355/1 "2017-12-04T17:03:21Z")

</div>

Hi,

I submitted multiple commits today for the poll plugin, which will change the current behaviour a little bit. Previously `poll_enabled` was kind of misleading as it didn’t disable polls but only let staff create polls when disabled.

Poll plugin now has 2 settings for this :

- `poll_enabled` =\> will totally disable polls and will un-cook polls when a post is rebaked
- `poll_minimum_trust_level_to_create` =\> defines the minimum trust level to create polls

Staff will always be able to create polls regardless of trust level, if polls are enabled.

 ![39](https://global.discourse-cdn.com/meta/original/3X/6/2/622359abe50c2ea1261ebd71a252b29d76538602.png)

I also added multiple tests, please let me know if you see something not working.

---

<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: [4 december 2017 om 20:02 UTC](https://meta.discourse.org/t/discourse-poll-update/75355/3 "2017-12-04T20:02:04Z")

</div>

Staff can always bypass, so we don’t need a site setting for that — this particular setting should be removed.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [4 december 2017 om 23:05 UTC](https://meta.discourse.org/t/discourse-poll-update/75355/4 "2017-12-04T23:05:16Z")

</div>

Done as of:

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

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [1 mei 2023 om 10:16 UTC](https://meta.discourse.org/t/discourse-poll-update/75355/5 "2023-05-01T10:16:51Z")

</div>


