discourse/plugins
Blake Erickson 69498a58e9
FEATURE: Staff only poll results (#7984)
* FEATURE: Staff only poll results

These changes allow only staff to see the results of a poll.

Non-staff users will be shown a screen like this:

1b8bd76013.png

The "Votes are public" message has been removed from the info section,
and the button to show the votes has been replaced with a message
stating the results will only be shown to staff.

* Update PR based on feedback

* Update plugins/poll/app/models/poll.rb

make sure we return a boolean

Co-Authored-By: Régis Hanol <regis@hanol.fr>
2019-08-15 12:27:18 -06:00
..
discourse-details Update translations 2019-07-15 09:43:22 -04:00
discourse-local-dates FIX: ensures pikaday picker is showing in UTC (#7968) 2019-08-06 08:41:38 +02:00
discourse-narrative-bot FIX: Wrong discobot tutorial started for certain locales. 2019-08-08 10:53:58 +08:00
discourse-nginx-performance-report Update translations 2019-07-15 09:43:22 -04:00
discourse-presence Update translations 2019-07-15 09:43:22 -04:00
lazyYT FIX: Memory Leaks when decorating posts (#7749) 2019-06-11 17:21:23 +02:00
poll FEATURE: Staff only poll results (#7984) 2019-08-15 12:27:18 -06:00