トラストレベル4のユーザーは、トピックタイマーを設定できなくなりました

When we upgraded to 1.9 the trust level 4 users seem to have lost their ability to set timers for topics. So they cannot auto-close topics or close them temporarily. They can close them in a regular manner, though.

This must be a bug or a regression. It cannot be intentional, right?

(We are on 1.9.1)

「いいね!」 1

Possibly, what do you think @tgxworld?

現在、トピックタイマー機能はスタッフ専用です:Scheduling topics for future publication をご覧ください。TL4 ユーザーにトピックタイマーの権限を付与することに私は完全に賛成ですが、これは新たな Contribute > Feature であり、Contribute > Bug ではありません。

Trust level 4 had the feature in 1.8. No doubt about it.

Did it work though? When I tested this back in August the timer didn’t actually do anything when it was triggered:

https://meta.discourse.org/t/how-to-create-a-timed-topic/60731/9?u=jomaxro

We never experienced any problems. Here is a topic that was scheduled to close in 60 minutes by a TL4 user:

「いいね!」 1

じゃあ、混乱させてごめんね。これを Contribute > Bug に戻すね。今は静かにして、本物のエンジニア (@tgxworld) が出社したら彼に確認してもらうよ :grimacing:.

「いいね!」 6

@jomaxro Yea topic timers are supposed to be available to admins and users with trust level 4 or higher. Do you recall why we restricted it to staff only?

https://github.com/tgxworld/discourse/commit/e3e6fd6ea0ecf2611738127efc585afbf727d219

「いいね!」 5

It came from this topic: Scheduling topics for future publication. Topic timers were not working for TL4 users when I tested it (timers could be set but nothing would happen when they triggered), so Jeff said to disable it unless it was an easy fix.

「いいね!」 4

Ah icic. I’ll have a look then :slight_smile:

「いいね!」 4

Can you try reproducing this again? I tried locally but the timers were working fine for me. Thank you!

In the mean time, I’ve reverted

https://github.com/discourse/discourse/commit/5a57a454fe713080814736442a6feb4863ec8c70

「いいね!」 4

I can confirm that auto-close, close temporarily, auto-open, open temporarily, schedule publishing, and remind me all work for a TL4 user on try.

However, Auto-Delete does not appear to work.

「いいね!」 7

TL4 users cannot delete topics anyway, couldn’t you just remove auto delete for TL4 since that is the only problem.

「いいね!」 5

This is now fixed by @zogstrip

「いいね!」 6