Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make closing polls only available to admins #13

Open
slendyduck opened this issue Dec 11, 2021 · 3 comments
Open

Make closing polls only available to admins #13

slendyduck opened this issue Dec 11, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@slendyduck
Copy link

I think that polls should have an option to be only closed by administrators. I think leaving the default option is no problem, but I think that adding admin perms as an optional toggle would be nice.

@JohnnyJayJay
Copy link
Owner

Do you mean only admins, not even the poll creator? Or including the poll creator?

I can see this being an option with a set of choices for minimum required privileges needed to close a poll, but I don't really see what it would be useful for. Could you give me a use case/why someone might need to set it to admin-only?

@JohnnyJayJay JohnnyJayJay added the enhancement New feature or request label Dec 12, 2021
@slendyduck
Copy link
Author

slendyduck commented Jan 29, 2022

Sorry for the late response, been meaning to reply to this.

With my server, everyone has base moderator permissions. I don't expect you to make an exception just for me, however; I think that sometimes, having a mode where only the admin can delete the poll could be useful. If perhaps an admin is posting an important poll, a moderator could close it on accident or on purpose without permission.

Having Admin-only permissions would allow polls only to be closed in a worst-case scenario, and since Admins are expected to be only given to people in the community that are trusted, they wouldn't abuse this power.

Just a thought. Up to you, but I would find it useful for myself at least since my friends who have base moderator perms often closed my own polls!

@JohnnyJayJay
Copy link
Owner

I could add an option close-role where you can enter a role that is required to close a poll (overriding the default "can delete messages" check). That wouldn't be much additional effort. Would that work for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants