Topic Timer autodelete option usable even if I don't have appropriate permissions

If I click the wrench at the bottom of a topic, and select Topic Timer, I see the option for auto-delete even though I don’t have the appropriate permissions to delete a topic. (Weirdly, it even lets me schedule the auto-delete and put a timer on the thread, but when the timer expires, nothing happens). The auto-delete option shouldn’t show up in Topic Timer for users who don’t have the appropriate permissions to use it.

6 Likes

Just pushed a fix :grapes:

https://github.com/discourse/discourse/commit/674318e1271f2584a074e024eb67990c700b02ba

7 Likes