A user reports a 403 error when trying to set slow mode or topic timers, despite being an administrator. The issue persists even after updates and in safe mode. The problem is traced to the discourse-category-mod-enhancer plugin, which, even when disabled, interferes with time-based actions. The user confirms the plugin is the cause and plans to add a warning to its topic. Crius initially suspects the plugin, and JammyDodger suggests checking for plugin conflicts, including non-JavaScript components. Crius confirms the issue is resolved by removing the plugin. JammyDodger also notes potential issues with the discourse-animated-avatars plugin, though unrelated to the main problem.
Tried updating via the web UI and rebuilding as well. The error seems to persist.
Before the rebuild I was seeing an error NS_BINDING_ABORTED. Now after the update, the error message is simply a 403 with this body:
{"errors":["You are not permitted to view the requested resource."],"error_type":"invalid_access"}
However I can see that the poll request is returning the NS_BINDING_ABORTED:
The two things might not be related the main issue is receiving a 403 on setting slow mode on any topic, despite being administrator. Our moderators report the same issue.
We have a very active community and being able to set slow mode is often required to allow the moderation to manage the hot topics.
Not necessarily. Disabling it (or using safe mode) only switches off the JavaScript bits, which is where most errors are found. On rare occasions, you need to remove it from your app.yml completely and rebuild without it as it could be a non-JavaScript piece that’s borking things.
We’re updated with the very latest commits pretty much when they’re merged.