# In polls: Make results and users only visible to admins

**URL:** <https://meta.discourse.org/t/in-polls-make-results-and-users-only-visible-to-admins/69136>\
**Category:** Feature\
**Tags:** polls, pr-welcome\
**Created:** [August 31, 2017, 10:27am UTC](https://meta.discourse.org/t/in-polls-make-results-and-users-only-visible-to-admins/69136 "2017-08-31T10:27:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Post date:** [August 31, 2017, 3:41pm UTC](https://meta.discourse.org/t/in-polls-make-results-and-users-only-visible-to-admins/69136/2 "2017-08-31T15:41:49Z")

</div>

At the moment we use `public=true` to define whether who voted for what is shared publically. I tried to think of how to keep this as valid syntax, but because polls would now have more than two states, ie. not binary, having a true/false flag will not work. The poll is not public vs. private, the results are.

So I could see `results=staff-only` `users=public` and `users=staff-only` as the valid options.

Default (no `results=` or `users=` syntax): Same as current default. Aggregate results public, users private.  
`users=public`: Replaces current `public=true` syntax. Both aggregate results and users are public.  
`users=staff-only`: New feature. Aggregate results public, users visible to staff only.  
`results=staff-only`: New feature. Aggregate results staff-only, users private.  
`results=staff-only users=staff-only`: New feature. Aggregate results staff-only, users staff-only.  
`results=staff-only users=public`: Not sure on this one. Ideally it should be invalid, but I think in practice it should function the same as `results=staff-only users=staff-only`.

---

_[View the full topic](https://meta.discourse.org/t/in-polls-make-results-and-users-only-visible-to-admins/69136)._
