您如何判断哪个模块阻止Drupal中的节点访问?

发布于 2025-02-13 10:06:58 字数 99 浏览 0 评论 0原文

在Drupal 8中,当从应该能够访问节点的用户访问节点页面时,我会收到“未经授权访问此页面”的错误。我们有一些限制/允许访问的不同模块,但是我无法确定哪些是阻止访问的。我该如何调试?

In Drupal 8, when accessing a node page from a user who should be able to access the node, I'm getting an "unauthorized to access this page" error. We have a few different modules that restrict/allow access, but I'm unable to pinpoint which is preventing access. How can I debug this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ぃ双果 2025-02-20 10:06:58

尝试将模块从Drupal One禁用您怀疑的模块,并在禁用每个模块后检查页面的许可,这可能会使您进入负责该问题的模块,然后在您可以调试该特定模块之后。

Try to disable the modules from drupal one by one which you suspect and check the permission of the page after disabling each module which might get you to the module that is responsible for the issue then after you can debug that particular module.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文