Restricting poll creation to Trust Levels

The difference is polls are a plugin and the interface for plugins has a “disabled” property that is being used here.

I have been very clear in the API so far that disabled means “don’t initialize this plugin.” It’s a miracle it works with the current hack, and I’m pretty sure in the future it will suddenly break if we depend on this behaviour.

If we want admins to be able to create polls we have to add a new setting for it.

3 个赞