您如何判断哪个模块阻止Drupal中的节点访问?
在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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试将模块从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.