After update our forum we got the following message on the data-explorer plugin
The data explorer is only available to admins.
Could you please help us to fix an issue
After update our forum we got the following message on the data-explorer plugin
Could you please help us to fix an issue
I just did an upgrade and don’t have this problem. Are you sure that the user trying to access data-explorer is an admin?
I have seen this bug due to the rate limiter… if you wait 10 seconds and reload the page does data explorer show up.
I did it but not luck
我也遇到了同样的错误。我正在使用 2.6.0.beta2 作为开发版本。
当我启用该插件并尝试访问 /admin/plugins/explorer 时,控制台显示以下消息:
警告:未为类型 “name”(oid 19)定义类型转换。为了安全起见,请显式将此类型转换为 TEXT,以应对未来的变更。
您是否已升级到 PostgreSQL 12?
您是否已迁移数据库?
不,我什么都没改。
事实上,我刚安装了一个新实例(2.6.0.beta3 / docker 19.03.13 / 基于 Debian bullseye),一运行 d/rake autospec 或尝试访问插件时,就立即收到了该警告。我不知道这是否与问题有关,但这是我看到的唯一警告。
查看后发现,在加载页面时遇到任何错误,都会显示“数据探索器仅对管理员可用”的提示信息。
在可能出错的情况很少时,这种做法是合理的,但更好的解决方案可能是在客户端进行错误报告。
更改已更新——现有文本现在通过显式检查管理员权限来触发,并且任何失败的请求都使用标准错误处理。
此主题在 2 天后自动关闭。不再允许新回复。