简体   繁体   English

Magento中的用户访问角色

[英]User access roles in Magento

I'm working on the website using magento, and i currently work with a module for a real-state that client can upload there own products in admin panel. 我正在使用magento在网站上工作,目前正在使用一个实时状态模块,客户端可以在管​​理面板中上传自己的产品。 usually it could be done in magento admin panel. 通常可以在magento管理面板中完成。 The problem is i need to give that user permission to add products and manage only there own products. 问题是我需要授予该用户许可才能添加产品并仅管理自己的产品。

i ended up googling and i found a magento extension http://www.magentocommerce.com/magento-connect/advanced-permissions.html 我结束了谷歌搜索,发现了一个magento扩展名http://www.magentocommerce.com/magento-connect/advanced-permissions.html

What i want is to build my own like advanced permission. 我想要的是建立自己的高级权限。

For product Restriction based on User role. 对于基于用户角色的产品限制。 you can use customer group option of Magento. 您可以使用Magento的客户组选项。

you can also refer below link for more Information : 您还可以参考以下链接以获取更多信息:

Product Restriction Based on Customer Group 基于客户群的产品限制

You can modified code based on your requirement. 您可以根据需要修改代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM