Poll Restriction Issue
The original poster, Toby_Richards, is experiencing an issue with polls in a category where only one group can create topics and reply, but the public can still vote. They want to restrict polls to only members of the group it is posted in.
Two possible workarounds have been suggested:
Poll Template: JammyDodger recommends using a poll template with specific settings that can be copied and pasted into the composer. This can be made even easier with the Templates plugin.
Is it possible to have a poll restricted to only members of the group it is posted in filled automatically? The category is restricted to that group regarding participation. I want to avoid to manually to do those setting.
I don’t think there’s a way to do this through the UI, but I’ve had some success on another site using a poll template with the specifics in that I use in each case that I can then just copy/paste in and manually tweak in the composer. Something like:
[poll type=regular results=on_vote public=true chartType=bar groups=team]
# **Bold Title**
* option one
* option two
* option three
[/poll]
You could also use the Templates plugin to make it even handier.
Alternatively, if your categories’ security settings aren’t going to change over time, you could create a JS script that returns the current category, and accordingly changes the poll’s default settings following this example: