magento 访问被拒绝 [英] magento access denied

查看:38
本文介绍了magento 访问被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在 Ubuntu 12.0.4 服务器上安装了 Magento 1.7.0.2,一切正常.

I have installed Magento 1.7.0.2 on Ubuntu 12.0.4 server and everything works.

使用管理员角色测试 REST API (http://1.2.3.4/magento/api/rest/products) 我得到这个结果:

Testing REST API with an admin role (http://1.2.3.4/magento/api/rest/products) I get this result:

<magento_api>
  <messages>
    <error>
      <data_item>
      <code>403</code>
        <message>Access denied</message>
      </data_item>
    </error>
  </messages>
</magento_api>

我创建了一个管理员角色,授予所有访问权限,并且令牌身份验证过程正常.

I have created an admin role grant all access on all and the token authentication procedure was ok.

我尝试过 magento go 服务、Bitnami VM 和 Windows 安装程序,但似乎没有网络服务(我只能在网络服务下看到用户/角色).

I've tried with magento go service, Bitnami VM and Windows installer but seems that web services are not present (I can see only user/role under Web Services).

您是否知道使用 REST API 进行 magento 设置?

Did you know of a magento setup with REST API working?

我该如何调试这种错误?我尝试过不同的 REST 客户端.

How can I debug this kind of error? I have tried with different REST client.

谢谢!

推荐答案

您是否为角色和属性设置了权限?如果没有先检查一下 magentocommerce.com/api/rest/permission_settings/

Did you set permissions for roles and attributes? If not check do it first magentocommerce.com/api/rest/permission_settings/

这篇关于magento 访问被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆