输入"ga"总是打开用户的作业,即使他们无法访问。

This is reproducible anywhere with Discourse assign, including here. Just enter ga when not in a text box and the bind triggers, regardless if you’re allowed to do so or not.

3 个赞

Good catch :+1:

That line might need to be moved inside a api.getCurrentUser()?.can_assign condition.

4 个赞