Backups link on dashboard should not be accessible to moderators


(Jakob Borg) #1

Continuing the discussion from Plugins admin section shows actions not available for moderators:

The backups link on the dashboard suffers from the same fate.

(Yep, I’m clicking through the interface after having demoted myself to moderator…)

I suspect the “upgrade” link at the top would also have this issue, had I not been up to date. Going to the /admin/upgrade URL as moderator renders a blank page though and not an error, so perhaps something else is happening on that page.


(Régis Hanol) #2

Another good one. Here’s a fix :chocolate_bar:

https://github.com/discourse/discourse/commit/a7f27416745156e391e9af4d1bb6efcca0403e80


(Régis Hanol) #3