News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Help with Virtuemart vmAccess::manager()

Started by ermes, March 07, 2019, 17:51:14 PM

Previous topic - Next topic

ermes

Hi forum, i'm writing a component for joomla and virtuemart based on com_api. This is a rest interface to import products, categories and manufacturers. I want use only virtuemart models function an all warks fine (login as admin, get products, categories etc..) but when i call $modelCategory->store($category_array) vmAccess::manager('category.edit') return false.
How can i comunicate to virtuemart that i'm the superuser? I'm trying to debug the vm code but i can't find the code that do it already.
Can you help me please?

Milbo

VM uses the joomla rights, so you must check our ACL in joomla. There are more than 100 rights to set in joomla for VM.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/