The data explorer is only available to admins

Taking a look, the “The data explorer is only available to admins.” message shows up for any error encountered while loading up the page.

https://github.com/discourse/discourse-data-explorer/blob/master/assets/javascripts/discourse/routes/admin-plugins-explorer.js.es6#L33-L37

This was sensible when there was a very small list of things that could go wrong, but the fix here is probably better clientside error reporting.

6 likes