discourse/plugins/poll/lib
Martin Brennan 9057272ee2
FIX: Use Guardian.basic_user instead of new (anon) (#24705)
c.f. de983796e1

There will soon be additional login_required checks
for Guardian, and the intent of many checks by automated
systems is better fulfilled by using BasicUser, which
simulates a logged in TL0 forum user, rather than an
anon user.

In some cases the use of anon still makes sense (e.g.
anonymous_cache), and in that case the more explicit
`Guardian.anon_user` is used
2023-12-06 11:56:21 +10:00
..
tasks DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
poll.rb SECURITY: Prevent unauthorized access to grouped poll results 2023-10-16 10:34:37 -04:00
polls_updater.rb FIX: Use Guardian.basic_user instead of new (anon) (#24705) 2023-12-06 11:56:21 +10:00
polls_validator.rb DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
post_validator.rb DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00