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?
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.